summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-03 23:42:36 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-03 23:42:36 +0200
commit09b9fd89acc5b7cabdd31e91c86b77078ff5d823 (patch)
treef6ad6dc2c41a08163b9a8d46637b8ea106712f37 /common.nix
parent3f8d84a06dc54570bc2bf8f1bc645a136dc9e006 (diff)
better service config
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/common.nix b/common.nix
index 99d1b21..f916914 100644
--- a/common.nix
+++ b/common.nix
@@ -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;