aboutsummaryrefslogtreecommitdiff
path: root/modules/profiles/fstrim/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profiles/fstrim/default.nix')
-rw-r--r--modules/profiles/fstrim/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/profiles/fstrim/default.nix b/modules/profiles/fstrim/default.nix
new file mode 100644
index 0000000..03da691
--- /dev/null
+++ b/modules/profiles/fstrim/default.nix
@@ -0,0 +1,7 @@
+{ ... }:
+{
+ services.fstrim = {
+ enable = true;
+ interval = "weekly";
+ };
+}