13 lines
213 B
Nix
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;
|
|
};
|
|
}
|