update and setup auto gc

This commit is contained in:
Noa Aarts 2024-04-04 14:52:22 +02:00
parent 69b3f0555b
commit 1ff64cddc8
2 changed files with 14 additions and 10 deletions

18
flake.lock generated
View file

@ -347,11 +347,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1712093955, "lastModified": 1712212014,
"narHash": "sha256-94I0sXz6fiVBvUAk2tg6t3UpM5rOImj4JTSTNFbg64s=", "narHash": "sha256-s+lbaf3nLRn1++/X2eXwY9mYCA/m9l8AvyG8beeOaXE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "80546b220e95a575c66c213af1b09fe255299438", "rev": "7e91f2a0ba4b62b88591279d54f741a13e36245b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -441,11 +441,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1712177839, "lastModified": 1712216965,
"narHash": "sha256-RaHzysRIdkbOpkKwnjq349DbVcl4eyu2P4D0ber+ngk=", "narHash": "sha256-U1cFbnIrzyf+1IUrVBLH8U5r1vVcQ07lVVukwuFbgZU=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland", "repo": "hyprland",
"rev": "36a8ae9bda4c2e150707e7ee0cb13ef3e8841728", "rev": "81766647f2dc34013a62066edd191426b8f16a42",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -778,11 +778,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1712057047, "lastModified": 1712234256,
"narHash": "sha256-o5KSQO82/sCgaaSsZONTeb+P47MXo0bbp+eID9I0CwI=", "narHash": "sha256-UKt7HrwYc9xab+gDb5C24V75MVKfHW2VsZ6qL28my6Q=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "7baefc8aa587931827797db7fbd55a733179dc79", "rev": "2c99cefa913c8afb8fa08e53608c6f8bd5a2e5c4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -41,7 +41,11 @@
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="]; trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="];
}; };
optimise.automatic = true; optimise.automatic = true;
gc.automatic = true; gc = {
automatic = true;
interval = "weekly";
options = "--delete-older-than 7d";
};
}; };
# Set your time zone. # Set your time zone.