diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-26 09:57:42 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2023-09-26 09:57:42 -0400 |
commit | fb8d2e44a70a2e585d9da9f0a1cfe1d2c9a7b902 (patch) | |
tree | ddb03f24494bffa3f833f5e8d5fad3b1f7a66b5c /systems/jonbox | |
parent | b28259b353c3ee2d51a7cbdf0e90136ae846b68d (diff) | |
download | nix-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.nix | 3 |
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; |