stockholm/lass/3modules/hosts.nix

13 lines
217 B
Nix
Raw Normal View History

2016-10-11 15:51:22 +00:00
{ config, ... }:
with config.krebs.lib;
{
options.lass.hosts = mkOption {
type = types.attrsOf types.host;
default =
filterAttrs (_: host: host.owner.name == "lass")
config.krebs.hosts;
};
}