summaryrefslogtreecommitdiffstats
path: root/3modules/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-24 21:15:18 +0200
committertv <tv@krebsco.de>2015-07-24 21:15:18 +0200
commitc9b3c530a6902979feaba0b07e3b6542708a72f5 (patch)
treecbb58c168a4ecd9b2d3d16d0a3c4b77ad7dbf3ca /3modules/tv
parent2154167857b6bd35c8b1cce2ad41521164abb2ff (diff)
{ * tv identity -> 3 krebs}.hosts
Diffstat (limited to '3modules/tv')
-rw-r--r--3modules/tv/identity.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/3modules/tv/identity.nix b/3modules/tv/identity.nix
index 584b271..9de4322 100644
--- a/3modules/tv/identity.nix
+++ b/3modules/tv/identity.nix
@@ -21,11 +21,6 @@ let
# default = filterAttrs (name: _host: name != cfg.self.name) cfg.hosts;
#};
- hosts = mkOption {
- type = with types; attrsOf host;
- apply = mapAttrs (name: value: value // { inherit name; });
- };
-
search = mkOption {
type = types.hostname;
};
@@ -44,7 +39,7 @@ let
in
map (addr: "${addr} ${aliases}") net.addrs
) host.nets
- ) cfg.hosts
+ ) config.krebs.hosts
));
};