summaryrefslogtreecommitdiffstats
path: root/jeschli/2configs/retiolum.nix
blob: f2260965555da46d56a53aadb2d5bf257b7666f8 (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
{ config, pkgs, ... }:

{

  krebs.tinc.retiolum = {
    enable = true;
    connectTo = [
      "prism"
      "gum"
      "ni"
      "dishfire"
      "enklave"
    ];
  };

  nixpkgs.config.packageOverrides = pkgs: {
    tinc = pkgs.tinc_pre;
  };

  networking.firewall.allowedTCPPorts = [ 80 655 ];
  networking.firewall.allowedUDPPorts = [ 655 ];

  environment.systemPackages = [
    pkgs.tinc
  ];
}