about summary refs log tree commit diff stats
path: root/system/fileSystemLayouts
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-13 05:55:00 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:30:34 +0200
commit56c521f068d3c4687cb92d59096e30cb2f3a4cda (patch)
tree7b801c246ff3ff3131a112988278be5e0b23f0be /system/fileSystemLayouts
parentFeat(hm/conf/neomutt): Add fetch-mail bind (diff)
downloadnixos-config-56c521f068d3c4687cb92d59096e30cb2f3a4cda.tar.gz
nixos-config-56c521f068d3c4687cb92d59096e30cb2f3a4cda.zip
Fix(system): Disable timer activated systemd services
Diffstat (limited to 'system/fileSystemLayouts')
-rw-r--r--system/fileSystemLayouts/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/fileSystemLayouts/default.nix b/system/fileSystemLayouts/default.nix
index 1676d993..40855714 100644
--- a/system/fileSystemLayouts/default.nix
+++ b/system/fileSystemLayouts/default.nix
@@ -48,6 +48,7 @@ in {
     systemd = {
       services = {
         hibernate-preparation = {
+          # TODO check if they work
           wantedBy = ["systemd-hibernate.service"];
           unitConfig = {
             Description = "Enable swap file and disable zram before hibernate";
@@ -91,6 +92,7 @@ in {
         };
       };
       services.fstrim = lib.mkIf cfg.ssd {
+        wantedBy = lib.mkForce [];
         unitConfig = {
           Description = "Discard unused blocks on filesystems from /etc/fstab";
           Documentation = "man:fstrim(8)";