From 09b9fd89acc5b7cabdd31e91c86b77078ff5d823 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 3 Apr 2024 23:42:36 +0200 Subject: better service config --- common.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'common.nix') 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; -- cgit v1.2.3