stockholm/tv/3modules/hosts.nix

13 lines
213 B
Nix
Raw Normal View History

2016-08-02 19:51:39 +00:00
{ config, ... }:
with config.krebs.lib;
{
options.tv.hosts = mkOption {
type = types.attrsOf types.host;
default =
filterAttrs (_: host: host.owner.name == "tv")
config.krebs.hosts;
};
}