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
chore: idk i give up
devins.page
1 month ago
7d38e467
67a60342
+1
-5
2 changed files
expand all
collapse all
unified
split
hosts
bluepill
default.nix
modules
nixos
modules
ssh.nix
-5
hosts/bluepill/default.nix
···
19
19
networking.hostName = "bluepill";
20
20
networking.useNetworkd = true;
21
21
22
22
-
services.openssh.extraConfig = ''
23
23
-
# For all users except git, only allow from LAN and Tailscale
24
24
-
AllowUsers git *@192.168.4.0/22 *@100.64.0.0/10 *@127.0.0.1
25
25
-
'';
26
26
-
27
22
system.autoUpgrade = {
28
23
enable = true;
29
24
flake = "github:intergrav/flake";
+1
modules/nixos/modules/ssh.nix
···
8
8
PermitRootLogin = "no";
9
9
};
10
10
};
11
11
+
fail2ban.enable = true;
11
12
};
12
13
}