From 85101e1d859b0825137580949eaf37cef003057c Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Thu, 11 Jan 2024 01:50:08 +0100 Subject: [PATCH 1/2] host framenix: disable fingerprint sensor, enable fwupd --- hosts/framenix/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/framenix/default.nix b/hosts/framenix/default.nix index bde4c32..e2df6a9 100644 --- a/hosts/framenix/default.nix +++ b/hosts/framenix/default.nix @@ -32,5 +32,10 @@ system.stateVersion = "23.11"; # Did you read the comment? hardware.enableRedistributableFirmware = true; + + services.fwupd.enable = true; + + # I do not need fingerprint reading + services.fprintd.enable = false; } From fbef60be21d8bf20da66a58b255ee731beb0b596 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Thu, 11 Jan 2024 01:50:31 +0100 Subject: [PATCH 2/2] hosts: smartd only activated on thinknix --- common/default.nix | 6 ------ hosts/thinknix/storage.nix | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/common/default.nix b/common/default.nix index 31c6593..cc698e4 100644 --- a/common/default.nix +++ b/common/default.nix @@ -196,12 +196,6 @@ in # profile sync daemon services.psd.enable = true; - services.smartd = - { - enable = true; - devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }]; - }; - fonts = { fontDir.enable = true; fontconfig.enable = true; diff --git a/hosts/thinknix/storage.nix b/hosts/thinknix/storage.nix index 557db3f..358370f 100644 --- a/hosts/thinknix/storage.nix +++ b/hosts/thinknix/storage.nix @@ -64,4 +64,9 @@ in boot.tmp.useTmpfs = true; fileSystems."/tmp".fsType = "tmpfs"; + services.smartd = + { + enable = true; + devices = [{ device = "/dev/sda"; } { device = "/dev/sdb"; }]; + }; }