Format
This commit is contained in:
@@ -81,14 +81,20 @@ let
|
||||
"${directory}/machines/${name}/configuration.nix"
|
||||
hwConfig
|
||||
];
|
||||
config.warnings = lib.optionals (builtins.all builtins.pathExists [hwConfig facterJson]) [
|
||||
''
|
||||
Duplicate hardware facts: '${hwConfig}' and '${facterJson}' exist.
|
||||
Using both is not recommended.
|
||||
config.warnings =
|
||||
lib.optionals
|
||||
(builtins.all builtins.pathExists [
|
||||
hwConfig
|
||||
facterJson
|
||||
])
|
||||
[
|
||||
''
|
||||
Duplicate hardware facts: '${hwConfig}' and '${facterJson}' exist.
|
||||
Using both is not recommended.
|
||||
|
||||
It is recommended to use the hardware facts from '${facterJson}', please remove '${hwConfig}'.
|
||||
''
|
||||
];
|
||||
It is recommended to use the hardware facts from '${facterJson}', please remove '${hwConfig}'.
|
||||
''
|
||||
];
|
||||
}
|
||||
settings
|
||||
clan-core.nixosModules.clanCore
|
||||
|
||||
Reference in New Issue
Block a user