misc: init with fstrim and nix store optimisation

This commit is contained in:
Katherina Walshe-Grey 2024-10-07 21:29:25 +01:00
parent bb2b59cd20
commit 5c7d371ea5
4 changed files with 8 additions and 2 deletions

7
common/misc.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
nix.gc.automatic = true;
nix.optimise.automatic = true;
services.fstrim.enable = true;
}