Enable automatic nix garbage collection
This commit is contained in:
parent
a42a8ba871
commit
5eab965637
1 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,12 @@
|
||||||
trusted-users = [ "@wheel" ];
|
trusted-users = [ "@wheel" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
users.users.nettika = {
|
users.users.nettika = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" ];
|
extraGroups = [ "wheel" "networkmanager" ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue