about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-21T15·56+0100
committerVincent Ambo <tazjin@google.com>2020-05-21T15·56+0100
commit1bb9cd7749748ee7019efcde834bbdb2b56e68e1 (patch)
tree0698d1b773fbcf9e1428c2a3f302580d02270e1c /ops/nixos
parenta162f4e8258ce1d401bc1cdb018e1212db80772d (diff)
chore(ops/nixos/nugget): Enable fstrim service r/798
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/nugget/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix
index 9b9d8fdce116..86f31a2fb637 100644
--- a/ops/nixos/nugget/default.nix
+++ b/ops/nixos/nugget/default.nix
@@ -254,6 +254,9 @@ in depot.lib.fix(self: {
     # Use Tailscale \o/
     services.tailscale.enable = true;
 
+    # nugget has an SSD
+    services.fstrim.enable = true;
+
     # ... and other nonsense.
     system.stateVersion = "19.09";
 })