tangled
alpha
login
or
join now
devins.page
/
flake
0
fork
atom
configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
0
fork
atom
overview
issues
pulls
pipelines
fix: only enable fail2ban for proxy
devins.page
1 month ago
9f7275cd
5cae8661
+5
-1
3 changed files
expand all
collapse all
unified
split
hosts
bluepill-proxy
default.nix
modules
fail2ban.nix
modules
nixos
modules
ssh.nix
+1
hosts/bluepill-proxy/default.nix
···
2
2
imports = [
3
3
./hardware.nix
4
4
./modules/caddy.nix
5
5
+
./modules/fail2ban.nix
5
6
./modules/socat.nix
6
7
];
7
8
+3
hosts/bluepill-proxy/modules/fail2ban.nix
···
1
1
+
{...}: {
2
2
+
services.fail2ban.enable = true;
3
3
+
}
+1
-1
modules/nixos/modules/ssh.nix
···
3
3
openssh = {
4
4
enable = true;
5
5
settings = {
6
6
+
LogLevel = "VERBOSE";
6
7
PasswordAuthentication = false;
7
8
KbdInteractiveAuthentication = false;
8
9
PermitRootLogin = "no";
9
10
};
10
11
};
11
11
-
fail2ban.enable = true;
12
12
};
13
13
}