diff options
author | tv <tv@krebsco.de> | 2019-01-21 11:04:37 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-01-21 11:04:37 +0100 |
commit | af0463b23493d8c31ce725beb8ff5a2fd0398001 (patch) | |
tree | 370eefe71046a3d33d4a74338549418c78835ef0 /krebs/3modules/retiolum-hosts.nix | |
parent | 799f132d588f2a5f6c6dabc43e862c90d9efa4b7 (diff) |
krebs: move hosts to dedeicated file
Diffstat (limited to 'krebs/3modules/retiolum-hosts.nix')
-rw-r--r-- | krebs/3modules/retiolum-hosts.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/retiolum-hosts.nix b/krebs/3modules/retiolum-hosts.nix index 2821d62d1..ddf85ead7 100644 --- a/krebs/3modules/retiolum-hosts.nix +++ b/krebs/3modules/retiolum-hosts.nix @@ -1,6 +1,6 @@ with import <stockholm/lib>; { config, ... }: let - # TODO dedup functions with networking.extraHosts + # TODO dedup functions with ./hosts.nix check = hostname: any (domain: hasSuffix ".${domain}" hostname) domains; domains = attrNames (filterAttrs (_: eq "hosts") config.krebs.dns.providers); in { |