summaryrefslogtreecommitdiffstats
path: root/old/modules/uriel/retiolum.nix
blob: 1e90083fc533458fb788b1cc29fd97908e865b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ config, pkgs, ... }:

{
  imports = [
    ../tv/retiolum
    ../lass/iptables
  ];

  tv.retiolum = {
    enable = true;
    hosts = ../../hosts;
    privateKeyFile = "/etc/nixos/secrets/uriel.retiolum.rsa_key.priv";
    connectTo = [
      "fastpoke"
      "gum"
      "ire"
    ];
  };

  #networking.firewall.allowedTCPPorts = [ 655 ];
  #networking.firewall.allowedUDPPorts = [ 655 ];
  #lass.iptables = {
  #  #input-internet-accept-new-tcp = [ "tinc" ];
  #  #input-internet-accept-new-udp = [ "tinc" ];
  #  tables.retiolum = {
  #     interfaces = [ "retiolum" "wl0" ];
  #     allowed-tcp = [ "tinc" ];
  #     allowed-udp = [ "tinc" ];
  #  };
  #};
}