nixcfg/hardwareModules/ssd/default.nix

11 lines
125 B
Nix

{
config,
lib,
pkgs,
...
}: {
config = lib.mkIf config.ar.hardware.ssd {
services.fstrim.enable = true;
};
}