gc
This commit is contained in:
parent
ab2c125100
commit
721ed0653f
1 changed files with 12 additions and 1 deletions
|
|
@ -32,10 +32,12 @@ in {
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
||||||
(writeShellScriptBin "drs" ''
|
(writeShellScriptBin "drs" ''
|
||||||
darwin-rebuild switch --flake ~/.config/nixos
|
sudo darwin-rebuild switch --flake ~/.config/nixos
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
system.primaryUser = "charles";
|
||||||
|
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
onActivation = {
|
onActivation = {
|
||||||
|
|
@ -72,6 +74,15 @@ in {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
extra-platforms = x86_64-darwin aarm64-darwin
|
extra-platforms = x86_64-darwin aarm64-darwin
|
||||||
'';
|
'';
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
interval = {
|
||||||
|
Weekday = 0;
|
||||||
|
Hour = 0;
|
||||||
|
Minute = 0;
|
||||||
|
};
|
||||||
|
options = "--delete-older-than 15d";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue