auto garbage collect nix store on genepi
This commit is contained in:
parent
d555bb82c7
commit
bfd6137b0c
1 changed files with 6 additions and 0 deletions
|
|
@ -30,4 +30,10 @@
|
||||||
home-manager.users.rpqt = ./home.nix;
|
home-manager.users.rpqt = ./home.nix;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue