mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Added nix garbage collection
This commit is contained in:
parent
9fddd3f4c8
commit
f70e024ff5
@ -1,6 +1,11 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
options = "--delete-older-than 2d";
|
||||
};
|
||||
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user