stockholm/tv/3modules/hosts.nix
2016-10-20 20:54:38 +02:00

13 lines
219 B
Nix

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