fixed gc optimise and channels

This commit is contained in:
Jakub Kropáček 2025-03-18 12:55:21 +01:00
parent 1a9dca331e
commit 6b12d3c97c

View file

@ -152,6 +152,16 @@
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
registry.nixpkgs.flake = inputs.nixpkgs;
channel.enable = false;
optimise = {
automatic = true;
dates = [ "weekly" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
};
home-manager = {
@ -173,5 +183,4 @@
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}