diff --git a/configuration.nix b/configuration.nix index c308e7c75..6425d5b33 100644 --- a/configuration.nix +++ b/configuration.nix @@ -67,6 +67,8 @@ system.autoUpgrade.enable = true; systemd.services.nixos-upgrade.path = with pkgs; [ gzip gnutar xz.bin config.nix.package.out ]; + services.fstrim.enable = true; + nix.gc.automatic = true; nix.gc.options = "--delete-older-than 15d"; }