stockholm/tv/3modules/hosts.nix
2016-08-02 21:51:39 +02:00

13 lines
213 B
Nix

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