DevOS | 38 Members | |
| Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga | 10 Servers |
| Sender | Message | Time |
|---|---|---|
| 19 Oct 2021 | ||
| I haven't thought about it. Currently the entire thing is only meant / designed for data. But for example, if there is a jsonSchema for systemd jobs (like nomad / k8s), we could indeed generate the respective data structures directly. | 12:43:28 | |
| But I guess the point of the nixos module system is to have a unified config abstraction layer, although that premise is gladfully partially reverted by RFC42, letting upstream config handles shine through a bit. | 12:44:59 | |
| I think RFC42 is a good piece in the corpus of community knowledge to really understand the reach and boundaries of the module system. | 12:45:51 | |
| Undoubtedly, there is a crossing point where the marginal benefit of a unified abstraction falls below the marginal benefit of immediate upstream config data structures. | 12:47:03 | |
| * Undoubtedly, there is a crossing point where the marginal benefit of a unified abstraction falls below the marginal benefit of expressivity of immediate upstream config data structures. | 12:47:58 | |
| got some examples? | 14:38:56 | |
| 14:48:58 | |
*
| 14:49:08 | |
| (nomad jobs but should look pretty analog for k8s manifests) | 14:49:43 | |
| Ah you mean for the crossing point of marginal benefits? | 14:50:21 | |
It's an individual judgment but I'd say a distructive cross repo mkForce/mkOverride is relatively nasty. | 14:51:21 | |
| finally trying out deploy-rs today | 16:09:38 | |
| been using nixus for almost a year | 16:09:53 | |
| I'm waiting for Nix to stop churning so I can try out the template. I noticed a few things:
| 16:16:36 | |
| the need to build nix, deploy-rs and nvfetcher is definitely and issue that we should resolve if possible its one of the reasons i dont build devos on my laptop anymore | 16:19:52 | |
| yeah this is building on a Dell ultrabook, so the aluminum case is turning orange and the world's smallest fans are trying to put on an experimental harsh noise concert | 16:21:15 | |
| lively and avant-garde, but not the smoothest OOTB experience ;) | 16:22:25 | |
| why does devos include a custom build of Nix itself? | 16:22:43 | |
In reply to @kraftnix:matrix.orgwhy do you need to build them? | 16:33:34 | |
| good question, i haven't looked into _why_ i need to build them, but every so often i do need to do a full build of nix, dprs, and nvfetcher. | 16:36:27 | |
| is the secrets mgmt stuff for devos just whatever is built into deploy-rs, or is it your own thing? | 16:39:53 | |
| agenix is used for secretd management. | 16:40:42 | |
| ah OK cool | 16:40:54 | |
| * agenix is used for secretd management. https://devos.divnix.com/secrets.html | 16:41:05 | |
| profiles are just modules that don't define any new config options? | 16:41:06 | |
| have a read through the docs, it shoulf answer many of these questions :) | 16:41:34 | |
| oh God the Nixpkgs documentation uses definition the opposite of the way that I meant it | 16:43:34 | |
| what's the point of the conceptual distinction between suites and profiles? don't profiles that import other profiles essentially retain all the same properties as other profiles? | 16:48:58 | |
| how is deploy-rs set up to read home-manager.shared-modules | 16:50:18 | |
In reply to @ultranix:matrix.org deploy-rs doesn't have to do anything; it's just deploying a NixOS host flake digga uses fup's hostDefaults.modules to add home-manager to all the host flakes | 16:54:23 | |