diff options
author | tv <tv@krebsco.de> | 2015-06-22 20:11:02 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-06-22 20:11:02 +0200 |
commit | 1daced7dae93c694ea4b26d398c147f45ad65856 (patch) | |
tree | 385aed841a2d9f7320ca35a3ce67093cb5b8470e /modules/mkdir/default.nix | |
parent | 0df90750a9576d0b2da0894162c35a305403251a (diff) |
tv retiolum: split module into options and config
Diffstat (limited to 'modules/mkdir/default.nix')
-rw-r--r-- | modules/mkdir/default.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/modules/mkdir/default.nix b/modules/mkdir/default.nix index 9dc426d..964a3c4 100644 --- a/modules/mkdir/default.nix +++ b/modules/mkdir/default.nix @@ -15,7 +15,6 @@ in ../tv/base-cac-CentOS-7-64bit.nix ../tv/exim-smarthost.nix ../tv/git/public.nix - ../tv/retiolum.nix ../tv/sanitize.nix { imports = [ ../tv/iptables ]; @@ -33,6 +32,19 @@ in ]; }; } + { + imports = [ ../tv/retiolum ]; + tv.retiolum = { + enable = true; + hosts = <retiolum-hosts>; + connectTo = [ + "cd" + "fastpoke" + "pigstarter" + "ire" + ]; + }; + } ]; nix.maxJobs = 1; @@ -74,17 +86,5 @@ in permitRootLogin = "yes"; }; - services.retiolum = { - enable = true; - hosts = <retiolum-hosts>; - privateKeyFile = "/etc/tinc/retiolum/rsa_key.priv"; - connectTo = [ - "cd" - "fastpoke" - "pigstarter" - "ire" - ]; - }; - sound.enable = false; } |