flake(nixos): Rename nixos configuration factory function

This commit is contained in:
ulic-youthlic 2025-06-11 22:13:26 +08:00
parent 8e4e50e34e
commit 64fe1dbc80
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -12,7 +12,7 @@ in {
flake = {
nixosModules.default = defaultNixosModule;
nixosConfigurations = let
makeNixConfiguration = hostName:
makeNixosConfiguration = hostName:
nixpkgs.lib.nixosSystem {
modules =
[defaultNixosModule]
@ -31,7 +31,7 @@ in {
]
|> (
with lib;
flip genAttrs makeNixConfiguration
flip genAttrs makeNixosConfiguration
);
};
}