20 Oct 2021 |
David Arnold (blaggacao) | * The 80% gist would be to separate:
- Config database
- Systemd Service Rendering | 04:29:39 |
mars | 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 |
David Arnold (blaggacao) | RFC78 | 04:31:10 |
mars | this one
https://github.com/NixOS/rfcs/pull/78 | 04:33:05 |
mars | there 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 | 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 | * 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 merging | 04:38:45 |
mars | * 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 merging | 04:38:57 |
David 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 |
David 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 |
David 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 changed their display name from Tosixon to Tisoxin. | 18:05:20 |
21 Oct 2021 |
@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 | * 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 | * 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 | * 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 | 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 | ^^ aynish | 15:58:24 |
@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 | * 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 | * 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 | * 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 | It should push automatically from CI | 17:07:39 |
@timdeh:matrix.org | at least that's how I originally set it up, hopefully it is not broken | 17:07:55 |
@teutat3s:pub.solar | nrdxp: thanks, maybe it didn't trigger because of the branch name change? | 17:11:45 |
@timdeh:matrix.org | are we talking devos or digga docs? | 17:13:56 |
@teutat3s:pub.solar | devos | 17:14:02 |
@teutat3s:pub.solar | https://devos.divnix.com/start/index.html e.g. here we still point to master | 17:14:34 |
@timdeh:matrix.org | It appears to be working:
https://github.com/divnix/devos/actions/workflows/mdbook_docs.yml | 17:14:35 |
@timdeh:matrix.org | oh that is strange, it is reflected in repo:
https://github.com/divnix/devos/blob/main/doc/start/index.md | 17:16:28 |