stockholm/tv/3modules/hosts.nix
2022-12-09 01:34:31 +01:00

10 lines
207 B
Nix

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