diff options
author | lassulus <lass@lassul.us> | 2017-05-19 00:27:25 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-05-19 00:27:25 +0200 |
commit | fa08ca88dee73ac0a0b888e114ab1df3ecf4c0fa (patch) | |
tree | 7b325a41aa66c4b4a9a3328c8ddc22c8d2f46e5a /lass/3modules/hosts.nix | |
parent | a9f0332f9c70088101b85c73d55e265813d94fd7 (diff) |
l 3 hosts: filter unmanaged hosts
Diffstat (limited to 'lass/3modules/hosts.nix')
-rw-r--r-- | lass/3modules/hosts.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lass/3modules/hosts.nix b/lass/3modules/hosts.nix index 125819bb0..7e3af10be 100644 --- a/lass/3modules/hosts.nix +++ b/lass/3modules/hosts.nix @@ -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; }; } |