From 9d152a1131e79a21f0d67fb0832944524ff0778f Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 21 Oct 2024 21:43:10 -0500 Subject: [PATCH] fstrim! --- system/hardware-configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/hardware-configuration.nix b/system/hardware-configuration.nix index 268b152..35e0dd3 100644 --- a/system/hardware-configuration.nix +++ b/system/hardware-configuration.nix @@ -8,6 +8,8 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; + services.fstrim.enable = true; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "radeon" ]; boot.initrd.kernelModules = [ "radeon" ]; boot.kernelModules = [ "kvm-amd" "radeon" "zenpower" "8812au" ];