updates for 24.11
This commit is contained in:
parent
4d65b6db08
commit
c0f31a7440
3 changed files with 7 additions and 5 deletions
2
acme.nix
2
acme.nix
|
@ -2,7 +2,7 @@
|
|||
|
||||
{
|
||||
security.acme.acceptTerms = true;
|
||||
security.acme.email = "kontakt@hamburg.freifunk.net";
|
||||
security.acme.defaults.email = "kontakt@hamburg.freifunk.net";
|
||||
users.groups.certs = {
|
||||
members = [ "dovecot2" "nginx" "postfix" ];
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -33,5 +33,5 @@
|
|||
[ { device = "/dev/disk/by-partuuid/f1251a25-02"; randomEncryption.enable = true; }
|
||||
];
|
||||
|
||||
nix.maxJobs = lib.mkDefault 1;
|
||||
nix.settings.max-jobs = lib.mkDefault 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue