!UUqahLbShAYkkrXmKs:matrix.org

DevOS

33 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
20 Oct 2021
@blaggacao:matrix.orgDavid Arnold (blaggacao)* The 80% gist would be to separate: - Config database - Systemd Service Rendering04:29:39
@mars:jupiterbroadcasting.commars

mhm

but in the meantime it makes sense for devos and digga to support exporting modules for a variety of NixOS-like module systems

04:30:04
@blaggacao:matrix.orgDavid Arnold (blaggacao)RFC7804:31:10
@mars:jupiterbroadcasting.commars

this one

https://github.com/NixOS/rfcs/pull/78

04:33:05
@mars:jupiterbroadcasting.commarsthere are so many different merge operations in the Nix ecosystem there's module merging, various override mechanisms, overlays Nickel is apparently going to build one into its language but the details aren't fully settled given that it will mean at least one more kind of merge to learn, what's the goal of your new merge DSL?04:36:10
@mars:jupiterbroadcasting.commars

I also wonder if really different semantics are needed to solve the config attribute provenance issue

the Tweag guys working on Nickle seem to think not, I think they've said they can get that kind of tracing working for NixOS-like module merging

04:38:29
@mars:jupiterbroadcasting.commars* I also wonder if different semantics really are needed to solve the config attribute provenance issue the Tweag guys working on Nickle seem to think not, I think they've said they can get that kind of tracing working for NixOS-like module merging04:38:45
@mars:jupiterbroadcasting.commars* I also wonder if different semantics really are needed to solve the config attribute provenance issue the Tweag guys working on Nickel seem to think not, I think they've said they can get that kind of tracing working for NixOS-like module merging04:38:57
@blaggacao:matrix.orgDavid Arnold (blaggacao) Main goal is monotonicity of the merge operation. Combined with hypothetical builtins.jsonSchemaValidate, we have all we need to manage base/dev/staging/prod envs. 04:43:18
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Main goal is monotonicity (-> mental simplicity) of the merge operation. Combined with hypothetical `builtins.jsonSchemaValidate`, we have all we need to manage `base`/`dev`/`staging`/`prod` envs.04:43:38
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Main goal is monotonicity (-> mental simplicity) of the merge operation. Combined with hypothetical `builtins.jsonSchemaValidate` for pre-flight checks, we have all we need to manage `base`/`dev`/`staging`/`prod` envs.04:43:59
@vherrmann:shmerver.de@vherrmann:shmerver.de changed their display name from Tosixon to Tisoxin.18:05:20
21 Oct 2021
@aynish:sealight.xyz@aynish:sealight.xyz

hey I'm trying to get agenix to work in a user profile but I'm not sure how to pass self in the arguments to the profile. I'm imprting it from my host file with imports. What am I missing? This is the error from nixos-rebuild `error: attribute 'self' missing

   at /nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source/lib/modules.nix:305:28:

      304|         builtins.addErrorContext (context name)
      305|           (args.${name} or config._module.args.${name})
         |                            ^
      306|       ) (lib.functionArgs f);

(use '--show-trace' to show detailed location information)`

12:30:33
@aynish:sealight.xyz@aynish:sealight.xyz *

hey I'm trying to get agenix to work in a user profile but I'm not sure how to pass self in the arguments to the profile. I'm imprting it from my host file with imports. What am I missing? This is the error from nixos-rebuild

`error: attribute 'self' missing

   at /nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source/lib/modules.nix:305:28:

      304|         builtins.addErrorContext (context name)
      305|           (args.${name} or config._module.args.${name})
         |                            ^
      306|       ) (lib.functionArgs f);

(use '--show-trace' to show detailed location information)`

12:30:56
@aynish:sealight.xyz@aynish:sealight.xyz *

hey I'm trying to get agenix to work in a user profile but I'm not sure how to pass self in the arguments to the profile. I'm imprting it from my host file with imports. What am I missing? This is the error from nixos-rebuild

`error: attribute 'self' missing at /nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source/lib/modules.nix:305:28:

      304|         builtins.addErrorContext (context name)
      305|           (args.${name} or config._module.args.${name})
         |                            ^
      306|       ) (lib.functionArgs f);

(use '--show-trace' to show detailed location information)`

12:31:46
@aynish:sealight.xyz@aynish:sealight.xyz *

hey I'm trying to get agenix to work in a user profile but I'm not sure how to pass self in the arguments to the profile. I'm imprting it from my host file with imports. What am I missing? This is the error from nixos-rebuild

` error: attribute 'self' missing

   at /nix/store/0r0xrqj5l88071cama7hlha5ajya06c8-source/lib/modules.nix:305:28:

      304|         builtins.addErrorContext (context name)
      305|           (args.${name} or config._module.args.${name})
         |                            ^
      306|       ) (lib.functionArgs f);

(use '--show-trace' to show detailed location information) `

12:31:57
@timdeh:matrix.org@timdeh:matrix.org where are you getting self from? It should be available as a module argument, similar to pkgs or config like so: { self, ... }: at the top of the file. 15:55:37
@timdeh:matrix.org@timdeh:matrix.org ^^ aynish 15:58:24
@teutat3s:pub.solar@teutat3s:pub.solar Who can push an update to the devos gh-pages branch so the docs get the latest changes to the new default branch main? 17:02:54
@teutat3s:pub.solar@teutat3s:pub.solar * Who can push an update to the devos gh-pages branch so the docs get the latest changes abd links point the new default branch main? 17:06:14
@teutat3s:pub.solar@teutat3s:pub.solar * Who can push an update to the devos gh-pages branch so the docs get the latest changes abd links point to the new default branch main? 17:06:18
@teutat3s:pub.solar@teutat3s:pub.solar * Who can push an update to the devos gh-pages branch so the docs get the latest changes and links point to the new default branch main? 17:06:26
@timdeh:matrix.org@timdeh:matrix.orgIt should push automatically from CI17:07:39
@timdeh:matrix.org@timdeh:matrix.orgat least that's how I originally set it up, hopefully it is not broken17:07:55
@teutat3s:pub.solar@teutat3s:pub.solar nrdxp: thanks, maybe it didn't trigger because of the branch name change? 17:11:45
@timdeh:matrix.org@timdeh:matrix.org are we talking devos or digga docs?17:13:56
@teutat3s:pub.solar@teutat3s:pub.solardevos17:14:02
@teutat3s:pub.solar@teutat3s:pub.solar https://devos.divnix.com/start/index.html e.g. here we still point to master 17:14:34
@timdeh:matrix.org@timdeh:matrix.orgIt appears to be working: https://github.com/divnix/devos/actions/workflows/mdbook_docs.yml17:14:35
@timdeh:matrix.org@timdeh:matrix.orgoh that is strange, it is reflected in repo: https://github.com/divnix/devos/blob/main/doc/start/index.md17:16:28

Show newer messages


Back to Room ListRoom Version: 6