refactor flaken.nix hive handling
This commit is contained in:
parent
3b7a80ef03
commit
c95e82b19a
1 changed files with 9 additions and 8 deletions
|
@ -145,13 +145,14 @@
|
||||||
|
|
||||||
# this makes nixos-anywhere work
|
# this makes nixos-anywhere work
|
||||||
flake.nixosConfigurations =
|
flake.nixosConfigurations =
|
||||||
(inputs.colmena.lib.makeHive self.outputs.colmena).nodes
|
|
||||||
// (
|
|
||||||
let
|
let
|
||||||
|
colmenaHive = (inputs.colmena.lib.makeHive self.outputs.colmena).nodes;
|
||||||
router0-dmz0 = (inputs.get-flake ./nix/os/devices/router0-dmz0).nixosConfigurations;
|
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;
|
retro = (inputs.get-flake ./nix/os/devices/retro).nixosConfigurations;
|
||||||
in
|
in
|
||||||
|
(
|
||||||
|
colmenaHive //
|
||||||
|
|
||||||
{
|
{
|
||||||
router0-dmz0 = router0-dmz0.native;
|
router0-dmz0 = router0-dmz0.native;
|
||||||
|
|
||||||
|
@ -162,7 +163,7 @@
|
||||||
# nixos-install --flake .\#retro_cross
|
# nixos-install --flake .\#retro_cross
|
||||||
retro_cross = 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