updates for 24.11
This commit is contained in:
parent
4d65b6db08
commit
c0f31a7440
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue