add garbage collection
This commit is contained in:
parent
b509f5ada1
commit
2b06eefb5e
1 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,13 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# garbage collection
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users.sako = { pkgs, ...}: {
|
home-manager.users.sako = { pkgs, ...}: {
|
||||||
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
|
# CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!!
|
||||||
|
|
Loading…
Reference in a new issue