better service config
This commit is contained in:
parent
3f8d84a06d
commit
09b9fd89ac
|
@ -149,8 +149,9 @@ in
|
|||
|
||||
# OpenSSH daemon config
|
||||
services.openssh = {
|
||||
# enable with public key only auth
|
||||
# enable with public key only auth, start on demand only
|
||||
enable = true;
|
||||
startWhenNeeded = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
|
||||
|
@ -427,9 +428,6 @@ in
|
|||
services.printing.enable = true;
|
||||
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
|
||||
programs.dconf.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue