stockholm/lass/3modules/hosts.nix
2017-05-19 00:27:25 +02:00

13 lines
239 B
Nix

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