stockholm/lass/2configs/retiolum.nix

29 lines
509 B
Nix
Raw Normal View History

{ ... }:
{
2015-10-01 20:13:40 +00:00
krebs.iptables = {
tables = {
filter.INPUT.rules = [
{ predicate = "-p tcp --dport smtp"; target = "ACCEPT"; }
{ predicate = "-p tcp --dport tinc"; target = "ACCEPT"; }
{ predicate = "-p udp --dport tinc"; target = "ACCEPT"; }
];
};
};
krebs.tinc.retiolum = {
enable = true;
connectTo = [
"prism"
"pigstarter"
2015-08-20 14:09:24 +00:00
"gum"
"flap"
];
};
2016-03-15 13:00:55 +00:00
nixpkgs.config.packageOverrides = pkgs: {
tinc = pkgs.tinc_pre;
};
}