about summary refs log tree commit diff stats
path: root/system/fileSystemLayouts
diff options
context:
space:
mode:
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)";