diff --git a/configuration.nix b/configuration.nix index 97bb987..19a4202 100644 --- a/configuration.nix +++ b/configuration.nix @@ -100,7 +100,10 @@ ]; # Enable the OpenSSH daemon. - services.openssh.enable = true; + services.openssh = { + ports = [2220]; + openFirewall = true; + }; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ]; @@ -115,5 +118,6 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "25.11"; # Did you read the comment? + system.autoUpgrade.enable = true; }