This commit is contained in:
2026-01-24 09:08:55 +00:00
parent 139b1defe7
commit aa322301fb
4 changed files with 4 additions and 3 deletions

View File

@@ -52,6 +52,8 @@
virtualisation.docker.enable = true;
users.users.${user}.extraGroups = ["docker"];
swapDevices = [
{
device = "/swapfile";

View File

@@ -11,7 +11,7 @@
nameservers = ["1.1.1.1"];
firewall = {
enable = true;
trustedInterfaces = ["eno1" "tailscale0"];
trustedInterfaces = ["tailscale0"];
allowedUDPPorts = [config.services.tailscale.port];
allowedTCPPorts = [22];
checkReversePath = "loose";

View File

@@ -65,7 +65,6 @@
"sudo"
"network"
"systemd-journal"
"docker"
];
shell = pkgs.fish;
openssh.authorizedKeys.keys = constants.sshKeys;

View File

@@ -2,7 +2,7 @@
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};