fix(nix): remove old generations

This commit is contained in:
Barrett Ruth 2026-02-25 21:01:13 -05:00
parent 5b018d6fdf
commit e2a20acdc9
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 80 additions and 3 deletions

View file

@ -194,5 +194,8 @@ in
options = "--delete-older-than 7d";
};
systemd.services.nix-gc.serviceConfig.ExecStartPost =
"/nix/var/nix/profiles/system/bin/switch-to-configuration boot";
system.stateVersion = "24.11";
}