buildClan: autoimport configuration.nix & hardware-configuration.nix
This commit is contained in:
parent
fb38516a86
commit
9eb00df6b7
@ -152,6 +152,13 @@ let
|
|||||||
in
|
in
|
||||||
(machineImports settings)
|
(machineImports settings)
|
||||||
++ [
|
++ [
|
||||||
|
{
|
||||||
|
# Autoinclude configuration.nix and hardware-configuration.nix
|
||||||
|
imports = builtins.filter (p: builtins.pathExists p) [
|
||||||
|
"${directory}/machines/${name}/configuration.nix"
|
||||||
|
"${directory}/machines/${name}/hardware-configuration.nix"
|
||||||
|
];
|
||||||
|
}
|
||||||
settings
|
settings
|
||||||
clan-core.nixosModules.clanCore
|
clan-core.nixosModules.clanCore
|
||||||
extraConfig
|
extraConfig
|
||||||
|
Loading…
Reference in New Issue
Block a user