refactor flaken.nix hive handling
This commit is contained in:
parent
3b7a80ef03
commit
c95e82b19a
1 changed files with 9 additions and 8 deletions
17
flake.nix
17
flake.nix
|
@ -145,13 +145,14 @@
|
|||
|
||||
# this makes nixos-anywhere work
|
||||
flake.nixosConfigurations =
|
||||
(inputs.colmena.lib.makeHive self.outputs.colmena).nodes
|
||||
// (
|
||||
let
|
||||
router0-dmz0 = (inputs.get-flake ./nix/os/devices/router0-dmz0).nixosConfigurations;
|
||||
steveej-x13s = (inputs.get-flake ./nix/os/devices/steveej-x13s).nixosConfigurations;
|
||||
retro = (inputs.get-flake ./nix/os/devices/retro).nixosConfigurations;
|
||||
in
|
||||
let
|
||||
colmenaHive = (inputs.colmena.lib.makeHive self.outputs.colmena).nodes;
|
||||
router0-dmz0 = (inputs.get-flake ./nix/os/devices/router0-dmz0).nixosConfigurations;
|
||||
retro = (inputs.get-flake ./nix/os/devices/retro).nixosConfigurations;
|
||||
in
|
||||
(
|
||||
colmenaHive //
|
||||
|
||||
{
|
||||
router0-dmz0 = router0-dmz0.native;
|
||||
|
||||
|
@ -162,7 +163,7 @@
|
|||
# nixos-install --flake .\#retro_cross
|
||||
retro_cross = retro.cross;
|
||||
|
||||
steveej-x13s_cross = steveej-x13s.cross;
|
||||
steveej-x13s_cross = (inputs.get-flake ./nix/os/devices/steveej-x13s).nixosConfigurations.cross;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue