updates for 24.11

This commit is contained in:
Daniel Frank 2024-12-30 13:45:54 +01:00
commit c0f31a7440
Signed by: tokudan
GPG key ID: 063CCCAD04182D32
3 changed files with 7 additions and 5 deletions

View file

@ -56,7 +56,7 @@
system.autoUpgrade.enable = true;
system.autoUpgrade.allowReboot = true;
nix = {
autoOptimiseStore = true;
settings.auto-optimise-store = true;
gc.automatic = true;
gc.options = "--delete-older-than 14d";
};
@ -94,8 +94,10 @@
services.openssh = {
enable = true;
# Only allow login through pubkey
passwordAuthentication = false;
challengeResponseAuthentication = false;
settings = {
PasswordAuthentication = false;
};
kbdInteractiveAuthentication = false;
extraConfig = "PubkeyAcceptedAlgorithms +ssh-rsa";
};
# Support mosh connections