Skip to content

Commit

Permalink
Add home-manager GC
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 20, 2025
1 parent 6ebbbf1 commit d7cb4b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ in
yubikey
dev
home
gc
];
};
};
Expand Down
6 changes: 6 additions & 0 deletions modules/home/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
fzf.enable = true;
};

nix.gc = {
automatic = true;
frequency = "weekly";
options = "--delete-older-than 14d";
};

home.packages = with pkgs; [
# development
python3
Expand Down

0 comments on commit d7cb4b0

Please sign in to comment.