mirror of
https://github.com/divnix/digga.git
synced 2024-11-23 20:22:04 +03:00
flake: update to use mkSuites and mkHosts
This commit is contained in:
parent
ec7eff63eb
commit
92700888b7
20
flake.nix
20
flake.nix
@ -40,15 +40,19 @@
|
||||
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 = {
|
||||
nixosConfigurations =
|
||||
import ./hosts (nixos.lib.recursiveUpdate inputs {
|
||||
inherit multiPkgs extern;
|
||||
defaultSystem = "x86_64-linux";
|
||||
lib = nixos.lib.extend (final: prev: {
|
||||
dev = self.lib;
|
||||
});
|
||||
});
|
||||
nixosConfigurations = os.mkHosts {
|
||||
dir = "${self}/hosts";
|
||||
overrides = import ./overrides;
|
||||
inherit multiPkgs suites extern;
|
||||
};
|
||||
|
||||
homeConfigurations = os.mkHomeConfigurations;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user