This repository has no description
947 B
50 lines
1{ 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 {
21 predicate = "-i retiolum -p udp --dport 60000:61000";
22 target = "ACCEPT";
23 }
24 {
25 predicate = "-i wiregrill -p udp --dport 60000:61000";
26 target = "ACCEPT";
27 }
28 {
29 predicate = "-i retiolum -p tcp --dport 9998:9999";
30 target = "ACCEPT";
31 }
32 {
33 predicate = "-i wiregrill -p tcp --dport 9998:9999";
34 target = "ACCEPT";
35 }
36 {
37 predicate = "-i retiolum -p tcp --dport imap";
38 target = "ACCEPT";
39 }
40 {
41 predicate = "-i wiregrill -p tcp --dport imap";
42 target = "ACCEPT";
43 }
44 ];
45
46 services.dovecot2 = {
47 enable = true;
48 mailLocation = "maildir:~/Maildir";
49 };
50}