Enable fstrim service
This commit is contained in:
parent
75b0f48715
commit
10ca572aec
@ -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"; }
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user