flake(nixos): Rename nixos configuration factory function
This commit is contained in:
parent
8e4e50e34e
commit
64fe1dbc80
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ in {
|
||||||
flake = {
|
flake = {
|
||||||
nixosModules.default = defaultNixosModule;
|
nixosModules.default = defaultNixosModule;
|
||||||
nixosConfigurations = let
|
nixosConfigurations = let
|
||||||
makeNixConfiguration = hostName:
|
makeNixosConfiguration = hostName:
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
modules =
|
modules =
|
||||||
[defaultNixosModule]
|
[defaultNixosModule]
|
||||||
|
|
@ -31,7 +31,7 @@ in {
|
||||||
]
|
]
|
||||||
|> (
|
|> (
|
||||||
with lib;
|
with lib;
|
||||||
flip genAttrs makeNixConfiguration
|
flip genAttrs makeNixosConfiguration
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue