enable auto update

This commit is contained in:
2026-07-04 16:43:44 +02:00
parent 7aff9f269a
commit b1298e425a
+5 -1
View File
@@ -100,7 +100,10 @@
]; ];
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh = {
ports = [2220];
openFirewall = true;
};
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
@@ -115,5 +118,6 @@
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "25.11"; # Did you read the comment? system.stateVersion = "25.11"; # Did you read the comment?
system.autoUpgrade.enable = true;
} }