Skip to content

Commit

Permalink
fix: run gc on home-manager as well
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
diogotcorreia committed Nov 18, 2024
1 parent 0163123 commit e36dd97
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ in {
options = "-d"; # delete old generations

dates = "weekly";
randomizedDelaySec = "15min";
randomizedDelaySec = "2h";
};
hm.nix.gc = {
automatic = true;
options = "-d"; # delete old generations

frequency = "weekly";
};
};
}

0 comments on commit e36dd97

Please sign in to comment.