the great update
This commit is contained in:
@@ -1,20 +1,17 @@
|
||||
{ self, nixpkgs, ... }: { systemSettings, userSettings, ... }:
|
||||
{ self, nixpkgs, ... }:
|
||||
let
|
||||
inherit (self) inputs;
|
||||
inherit systemSettings userSettings;
|
||||
mkHost = name:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./${name}
|
||||
{
|
||||
nixpkgs.hostPlatform = systemSettings.system;
|
||||
}
|
||||
../overlays
|
||||
] ++ builtins.attrValues self.nixosModules;
|
||||
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit systemSettings;
|
||||
inherit userSettings;
|
||||
systemSettings = import ./${name}/systemSettings.nix;
|
||||
userSettings = import ../user/userSettings.nix;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user