l 3 hosts: filter unmanaged hosts

This commit is contained in:
lassulus 2017-05-19 00:27:25 +02:00
parent a9f0332f9c
commit fa08ca88de

View File

@ -6,7 +6,7 @@ with import <stockholm/lib>;
options.lass.hosts = mkOption {
type = types.attrsOf types.host;
default =
filterAttrs (_: host: host.owner.name == "lass")
filterAttrs (_: host: host.owner.name == "lass" && host.managed)
config.krebs.hosts;
};
}