Merge pull request 'Add garabage collection' (#7) from feature/garbage-collection into master

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2026-01-31 12:33:21 +01:00
2 changed files with 13 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
../modules/programs.nix
../modules/gaming.nix
../modules/obs-studio.nix
../modules/garbage-collection.nix
];
boot.loader.systemd-boot.enable = true;

View File

@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
nix = {
settings.auto-optimise-store = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
}