diff options
author | lassulus <lass@aidsballs.de> | 2015-04-10 01:37:29 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-05-19 23:17:19 +0200 |
commit | aa5d113f90c29f483aa679738dc52e5df1763fec (patch) | |
tree | 9be801304c8331bc211ad738836b3f3a03e74cea /modules/lass/retiolum-mors.nix | |
parent | 6593d16308109ded64d5c842d6a12c4106767df4 (diff) |
mors: import mors + config
Diffstat (limited to 'modules/lass/retiolum-mors.nix')
-rw-r--r-- | modules/lass/retiolum-mors.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/lass/retiolum-mors.nix b/modules/lass/retiolum-mors.nix new file mode 100644 index 000000000..61a7856c1 --- /dev/null +++ b/modules/lass/retiolum-mors.nix @@ -0,0 +1,21 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../tv/retiolum.nix + ]; + + services.retiolum = { + enable = true; + hosts = ../../hosts; + privateKeyFile = "/etc/nixos/secrets/mors.retiolum.rsa_key.priv"; + connectTo = [ + "fastpoke" + "gum" + "ire" + ]; + }; + + networking.firewall.allowedTCPPorts = [ 655 ]; + networking.firewall.allowedUDPPorts = [ 655 ]; +} |