mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
refactor
This commit is contained in:
@@ -1,13 +1,6 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, ... }: {
|
||||||
let
|
flake.nixosConfigurations."computer-mo" = inputs.self.lib.mkHost {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
host = "computer-mo";
|
host = "computer-mo";
|
||||||
|
|
||||||
mkHost = inputs.self.lib.mkHost;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
flake.nixosConfigurations.${host} = mkHost {
|
|
||||||
inherit system host;
|
|
||||||
extraModules = [ inputs.self.nixosModules.${host} ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,6 +9,6 @@
|
|||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
modules = extraModules;
|
modules = [ inputs.self.nixosModules.${host} ] ++ extraModules;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user