flake: update to use mkSuites and mkHosts
This commit is contained in:
parent
ec7eff63eb
commit
92700888b7
1 changed files with 12 additions and 8 deletions
20
flake.nix
20
flake.nix
|
@ -40,15 +40,19 @@
|
||||||
inherit extern overrides;
|
inherit extern overrides;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
suites = os.mkSuites {
|
||||||
|
suites = import ./suites;
|
||||||
|
users = os.mkProfileAttrs "${self}/users";
|
||||||
|
profiles = os.mkProfileAttrs "${self}/profiles";
|
||||||
|
userProfiles = os.mkProfileAttrs "${self}/users/profiles";
|
||||||
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
nixosConfigurations =
|
nixosConfigurations = os.mkHosts {
|
||||||
import ./hosts (nixos.lib.recursiveUpdate inputs {
|
dir = "${self}/hosts";
|
||||||
inherit multiPkgs extern;
|
overrides = import ./overrides;
|
||||||
defaultSystem = "x86_64-linux";
|
inherit multiPkgs suites extern;
|
||||||
lib = nixos.lib.extend (final: prev: {
|
};
|
||||||
dev = self.lib;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
homeConfigurations = os.mkHomeConfigurations;
|
homeConfigurations = os.mkHomeConfigurations;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue