Colmena | 344 Members | |
| A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena | 121 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Jan 2022 | ||
In reply to @angerman:matrix.orgcontroller system? | 07:15:39 | |
| Ohh... 😥 | 07:15:46 | |
| controller/deployer (whatever we call the machine from which we deploy). | 07:16:11 | |
| You should initialize with the target system (x86_64-linux, aarch64-linux, etc). | 07:17:12 | |
| Currently you can use the remote build feature to deploy from macOS to NixOS, but not to macOS. It should be fairly easy to add, however, since the semantics are similar | 07:18:37 | |
| * Currently you can use the remote build feature to deploy from macOS to NixOS, but not to macOS. It should be fairly easy to add, however, since the semantics are similar (with nix-darwin) | 07:19:07 | |
| Hmm. Yea, I've got a variety of {x86_64,aarch64}-{linux,macos} systems in my deployment. macos for now requires ssh'ing into the machine, updagint the nix configuration and running darwin rebuild. | 07:24:37 | |
| 4 Jan 2022 | ||
| 22:16:50 | ||
| * | 22:18:54 | |
| 22:21:48 | ||
| 👋 | 23:42:50 | |
| 5 Jan 2022 | ||
| 07:40:54 | ||
| hello there | 07:51:20 | |
| 15:54:38 | ||
| I'm getting the following error on a simple deployment at the moment:
| 15:55:24 | |
| NixOS config is
| 15:55:50 | |
| Any ideas on how I could debug that? | 15:57:46 | |
| 16:12:32 | ||
| What does your hive.nix look like? | 17:09:20 | |
In reply to @zhaofeng:zhaofeng.li Sorry for not replying earlier, but I don't have a hive.nix, just a flake.nix as follows:
| 21:35:33 | |
| That confirms my suspicions in https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$YU9o4IlsSyfFcrRGby4AGBIvMLhMH0OPdWvEG4-5Qnk?via=nixos.org&via=matrix.org&via=tchncs.de | 21:36:44 | |
Change specialArgs to meta.specialArgs | 21:36:53 | |
| Oh I didn't even see your reply there, so sorry! | 21:37:24 | |
| Well, that does it! Thank you so much! Is this a recent change, that specialArgs are required? | 21:37:59 | |
No, you need to pass it in otherwise there is no argument named home-manager | 21:38:54 | |
| The odd thing is I've got a different system with roughly the same flake.nix setup, but for a bunch of TV settop systems. They also use home-manager in exactly the same manner, but there's no specialArgs defined there, and it still works | 21:39:05 | |
Is home-manager there as part of the NixOS module arguments? That shouldn't have worked. | 21:40:17 | |
But if you put the configuration in the same file as flake.nix, then home-manager is usable from the context | 21:40:47 | |
| The difference between the other system and this one is that this one is running NixOS, and the other is just Ubuntu with Nix slapped on top | 21:40:52 | |
* But if you put the configuration in the same file as flake.nix, then home-manager is usable from the context in outputs | 21:40:55 | |