Colmena | 332 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 117 Servers |
| Sender | Message | Time |
|---|---|---|
| 4 Feb 2022 | ||
I tried manually to import everything under nixosConfigurations.mailbox but in most cases, I've hit either errors of "wrong type", infinite recursion or nixpkgs.pkgs does not exist | 17:54:18 | |
| did you read somewhere that the extraArgs thing got deprecated? if so ill get on solving this, since ill need to eventually anyway | 17:54:55 | |
| I think I've read it somewhere | 17:55:31 | |
| I'll try to find it again | 17:55:35 | |
| It got really late last night đ | 17:55:44 | |
| heh | 17:56:28 | |
| i like how literally a couple hours ago i said something like i dont think nixosConfigurations would break xD | 17:57:02 | |
| Looks like args and extraArgs was deprecates here: https://github.com/NixOS/nixpkgs/pull/148315 | 17:58:29 | |
| * Looks like args and extraArgs was deprecated here: https://github.com/NixOS/nixpkgs/pull/148315 | 17:58:52 | |
| But setting _module.args should be equivalent | 17:59:27 | |
|
| 18:05:16 | |
| So it looks like I'd need to filter it in that case? đ¤ | 18:05:29 | |
| Can't really filter it âšī¸ Equality of lambdas is a bit hard as a problem đ | 18:16:06 | |
| I get this exactly error using extraArgs.modules | 18:31:05 | |
| okay i updated my deployment stuff. https://github.com/buckley310/nixos-config/blob/master/lib/deploy.nix | 18:45:47 | |
| and for reference, this is how i use it.
| 18:47:45 | |
| i had played with that strategy before, so i had it ready, just wasnt using it. basically instead of colmena consuming nixosConfigurations, just build my hosts as plain configs, and both nixosConfigurations and colmena consume that | 18:49:27 | |
| ./hosts looks like
| 18:50:21 | |
| * ./hosts/default.nix looks like
| 18:50:31 | |
In reply to @buckley310:matrix.orgWhat I dislike about that approach is that it feels like you'd lose the flake advantage, as it makes it easy for the colmena definition to diverge from the flake one | 18:51:34 | |
| well its what ill go with for now. its easy enough to not diverge, granted im the only cook in the kitchen on this one | 18:53:48 | |
| i dont know of a better way at this moment | 18:54:30 | |
| Yes, of course. I'd just be worried that one of the evals behaves slightly different somehow | 18:54:36 | |
| they behaved slightly differently before :) | 18:55:26 | |
| probably due to the impure build or something, they would produce different store paths for the systems than nixos-rebuild --flake would | 18:56:08 | |
| hey team i'm hoping someone can help me out here... here is my
i'm running into a mountain of errors when i run | 20:32:36 | |
| here is a snippet:
| 20:33:05 | |
| for reference
| 20:33:55 | |
In reply to @aanderse:nixos.devThere was a bug that got fixed in 0.2.1 as well as in main: https://github.com/zhaofengli/colmena/issues/50 | 20:34:13 | |
It occurs in nixos-unstable with sandboxed documentation builds enabled, where documentation.nix uses modulesPath to strip off the prefixes of module paths | 20:35:20 | |