mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
fix
This commit is contained in:
+7
-4
@@ -21,7 +21,7 @@ let
|
||||
{
|
||||
host,
|
||||
system,
|
||||
profile ? null,
|
||||
profiles ? [ ],
|
||||
extraModules ? [ ],
|
||||
}:
|
||||
assert lib.assertMsg (lib.elem system config.systems)
|
||||
@@ -32,9 +32,9 @@ let
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
../profiles/${profile}.nix
|
||||
./${host}/default.nix
|
||||
]
|
||||
++ map (p: ../profiles/${p}.nix) profiles
|
||||
++ extraModules;
|
||||
specialArgs = { inherit inputs username unstable; };
|
||||
};
|
||||
@@ -44,8 +44,11 @@ in
|
||||
nix-example = mkSystem {
|
||||
host = "nix-example";
|
||||
system = "x86_64-linux";
|
||||
profile = "base";
|
||||
extraModules = [ ];
|
||||
profiles = [
|
||||
"interfaces/cli-interactive"
|
||||
"platforms/vm"
|
||||
"workloads/dev"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user