This repository has no description
858 B
32 lines
1{ config, lib, pkgs, ... }:
2
3{
4 imports = [
5 ./mail.nix
6 ./pass.nix
7 ];
8
9 environment.systemPackages = with pkgs; [
10 dic
11 nmap
12 git-preview
13 l-gen-secrets
14 ];
15
16 services.tor.enable = true;
17 services.tor.client.enable = true;
18
19 krebs.iptables.tables.filter.INPUT.rules = [
20 { predicate = "-i retiolum -p udp --dport 60000:61000"; target = "ACCEPT";}
21 { predicate = "-i wiregrill -p udp --dport 60000:61000"; target = "ACCEPT";}
22 { predicate = "-i retiolum -p tcp --dport 9998:9999"; target = "ACCEPT";}
23 { predicate = "-i wiregrill -p tcp --dport 9998:9999"; target = "ACCEPT";}
24 { predicate = "-i retiolum -p tcp --dport imap"; target = "ACCEPT";}
25 { predicate = "-i wiregrill -p tcp --dport imap"; target = "ACCEPT";}
26 ];
27
28 services.dovecot2 = {
29 enable = true;
30 mailLocation = "maildir:~/Maildir";
31 };
32}