tv.hosts: init
This commit is contained in:
parent
e6aef09ad4
commit
46d73a70ce
@ -4,6 +4,7 @@ _:
|
||||
imports = [
|
||||
./charybdis
|
||||
./ejabberd
|
||||
./hosts.nix
|
||||
./iptables.nix
|
||||
];
|
||||
}
|
||||
|
12
tv/3modules/hosts.nix
Normal file
12
tv/3modules/hosts.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ config, ... }:
|
||||
|
||||
with config.krebs.lib;
|
||||
|
||||
{
|
||||
options.tv.hosts = mkOption {
|
||||
type = types.attrsOf types.host;
|
||||
default =
|
||||
filterAttrs (_: host: host.owner.name == "tv")
|
||||
config.krebs.hosts;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user