fix(flake): don't build __template__
machines
This commit is contained in:
parent
bf2bbb2446
commit
64950f00f3
1 changed files with 10 additions and 8 deletions
|
@ -228,15 +228,17 @@ rec {
|
||||||
(builtins.attrValues
|
(builtins.attrValues
|
||||||
(builtins.mapAttrs
|
(builtins.mapAttrs
|
||||||
(system: hosts:
|
(system: hosts:
|
||||||
lib.filterAttrs
|
lib.concatMapAttrs
|
||||||
(host: config:
|
(host: config:
|
||||||
config != null)
|
lib.optionalAttrs
|
||||||
(builtins.mapAttrs
|
(and [
|
||||||
(host: config:
|
(host != "__template__")
|
||||||
if (pred system host config)
|
(pred system host config)
|
||||||
then mkHost system host config
|
])
|
||||||
else null)
|
{
|
||||||
hosts))
|
${host} = mkHost system host config;
|
||||||
|
})
|
||||||
|
hosts)
|
||||||
machines));
|
machines));
|
||||||
|
|
||||||
# Configurations
|
# Configurations
|
||||||
|
|
Loading…
Reference in a new issue