up
This commit is contained in:
6
modules/networking/firewall.nix
Normal file
6
modules/networking/firewall.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
trustedInterfaces = ["eno1" "tailscale0"];
|
||||
};
|
||||
}
|
||||
9
modules/networking/ssh.nix
Normal file
9
modules/networking/ssh.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PermitRootLogin = "yes";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
3
modules/networking/tailscale.nix
Normal file
3
modules/networking/tailscale.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
services.tailscale.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user