summaryrefslogtreecommitdiffstats
path: root/systems/jonbox
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-09-26 09:57:42 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-09-26 09:57:42 -0400
commitfb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902 (patch)
treeddb03f24494bffa3f833f5e8d5fad3b1f7a66b5c /systems/jonbox
parentb28259b353c3ee2d51a7cbdf0e90136ae846b68d (diff)
downloadnix-config-fb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902.tar.gz
nix-config-fb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902.tar.bz2
nix-config-fb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902.zip
add fstrim options for ssd systems
Diffstat (limited to 'systems/jonbox')
-rw-r--r--systems/jonbox/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/systems/jonbox/default.nix b/systems/jonbox/default.nix
index cf641f5..16cf6a2 100644
--- a/systems/jonbox/default.nix
+++ b/systems/jonbox/default.nix
@@ -40,7 +40,8 @@
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
- programs.light.enable = true;
+ services.fstrim.enable = true;
+ nix.settings.auto-optimize-store = true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;