better service config

This commit is contained in:
Christoph Cullmann 2024-04-03 23:42:36 +02:00
parent 3f8d84a06d
commit 09b9fd89ac

View file

@ -149,8 +149,9 @@ in
# OpenSSH daemon config # OpenSSH daemon config
services.openssh = { services.openssh = {
# enable with public key only auth # enable with public key only auth, start on demand only
enable = true; enable = true;
startWhenNeeded = true;
settings.PasswordAuthentication = false; settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false; settings.KbdInteractiveAuthentication = false;
@ -427,9 +428,6 @@ in
services.printing.enable = true; services.printing.enable = true;
services.printing.drivers = [ pkgs.hplip ]; services.printing.drivers = [ pkgs.hplip ];
# let's get SSD status
services.smartd.enable = true;
# dconf is needed for gtk, see https://nixos.wiki/wiki/KDE # dconf is needed for gtk, see https://nixos.wiki/wiki/KDE
programs.dconf.enable = true; programs.dconf.enable = true;