Enable fstrim service

This commit is contained in:
Rodrigo Arias 2023-09-12 16:39:45 +02:00
parent 75b0f48715
commit 10ca572aec

View File

@ -6,6 +6,9 @@
fsType = "ext4"; fsType = "ext4";
}; };
# Trim unused blocks weekly
services.fstrim.enable = true;
swapDevices = swapDevices =
[ { device = "/dev/disk/by-label/swap"; } [ { device = "/dev/disk/by-label/swap"; }
]; ];