flake: colmena compat with CppNix 2.24
This commit is contained in:
parent
f51721aae1
commit
1eaa7d2287
|
@ -26,6 +26,7 @@ To build locally, run `nixos-rebuild switch --flake .#[hostname]` as root.
|
|||
To build the remote machines, run `colmena apply`. See the [colmena documentation](https://colmena.cli.rs/) for command-line options. Notable options include:
|
||||
* `--on [hostname]`: build a specific machine only
|
||||
* `--reboot`: reboot after building (but note [this bug](https://github.com/zhaofengli/colmena/issues/166) means it may hang even when the reboot completes successfully)
|
||||
* `--experimental-flake-eval`: currently necessary to build at all. See [here](https://github.com/zhaofengli/colmena/pull/228)
|
||||
|
||||
### Updating
|
||||
|
||||
|
|
|
@ -60,7 +60,8 @@
|
|||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, nixpkgs-small, lix-module, home-manager, plasma-manager, nur, agenix, colmena, randomcat, actual, birdsong, ... }: {
|
||||
nixosConfigurations = (colmena.lib.makeHive self.outputs.colmena).nodes;
|
||||
nixosConfigurations = self.outputs.colmenaHive.nodes;
|
||||
colmenaHive = colmena.lib.makeHive self.outputs.colmena;
|
||||
|
||||
# The name of this output type is not standardised. I have picked
|
||||
# "homeManagerModules" as the discussion here suggests it's the most common:
|
||||
|
@ -129,7 +130,7 @@
|
|||
in
|
||||
pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.colmena
|
||||
colmena.packages.${system}.colmena
|
||||
agenix.packages.${system}.default
|
||||
plasma-manager.packages.${system}.rc2nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue