Updated automatic update and cleanup settings

This commit is contained in:
2025-01-23 11:15:54 +00:00
parent 5d924c05c9
commit 582c5c7c13
2 changed files with 20 additions and 4 deletions

View File

@@ -45,6 +45,11 @@
nix = {
registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
};
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
@@ -245,8 +250,11 @@
};
};
system.stateVersion = "24.11"; # Did you read the comment?
system.autoUpgrade.enable = true;
system = {
stateVersion = "24.11"; # Did you read the comment?
autoUpgrade.enable = true;
autoUpgrade.dates = "weekly";
};
# Set user config settings
users.defaultUserShell = pkgs.nushell;

View File

@@ -68,6 +68,11 @@
nix = {
registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
};
settings = {
experimental-features = "nix-command flakes";
auto-optimise-store = true;
@@ -359,8 +364,11 @@
};
programs.virt-manager.enable = true;
system.stateVersion = "23.11"; # Did you read the comment?
system.autoUpgrade.enable = true;
system = {
stateVersion = "23.11"; # Did you read the comment?
autoUpgrade.enable = true;
autoUpgrade.dates = "weekly";
};
# Set user config settings
users.defaultUserShell = pkgs.nushell;