add garbage collect to darwin hosts
This commit is contained in:
parent
e2390a793c
commit
8b23b480bf
1 changed files with 6 additions and 1 deletions
|
|
@ -7,7 +7,12 @@
|
||||||
nix-homebrew.darwinModules.nix-homebrew
|
nix-homebrew.darwinModules.nix-homebrew
|
||||||
];
|
];
|
||||||
|
|
||||||
# Nix configuration
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
interval = { Day = 1; };
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
nix.settings.substituters = [
|
nix.settings.substituters = [
|
||||||
"https://cache.nixos.org/"
|
"https://cache.nixos.org/"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue