mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Enable weekly garbage collection
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -107,11 +107,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685865905,
|
"lastModified": 1686059680,
|
||||||
"narHash": "sha256-XJZ/o17eOd2sEsGif+/MQBnfa2DKmndWgJyc7CWajFc=",
|
"narHash": "sha256-sp0WlCIeVczzB0G8f8iyRg3IYW7KG31mI66z7HIZwrI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e7603eba51f2c7820c0a182c6bbb351181caa8e7",
|
"rev": "a558f7ac29f50c4b937fb5c102f587678ae1c9fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -57,6 +57,12 @@
|
|||||||
registry = {nixpkgs.flake = nixpkgs;};
|
registry = {nixpkgs.flake = nixpkgs;};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix.gc = {
|
||||||
|
automatic = true;
|
||||||
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 30d";
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(import ./modules/overlays)
|
(import ./modules/overlays)
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user