diff --git a/flake.lock b/flake.lock index e496dd2..03a65e4 100644 --- a/flake.lock +++ b/flake.lock @@ -374,11 +374,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1714076141, - "narHash": "sha256-Drmja/f5MRHZCskS6mvzFqxEaZMeciScCTFxWVLqWEY=", + "lastModified": 1717196966, + "narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7bb2ccd8cdc44c91edba16c48d2c8f331fb3d856", + "rev": "57610d2f8f0937f39dbd72251e9614b1561942d8", "type": "github" }, "original": { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0a543ca..e46f312 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -76,6 +76,11 @@ #Deduplicate nix store on a timer nix.optimise.automatic = true; + #Delete old generations + nix.gc.automatic = true; + nix.gc.dates = "weekly"; + nix.gc.options = "--delete-older-than 30d"; + programs.neovim = { enable = true; defaultEditor = true;