1
0
Fork 0

Change Nix GC period to last 10 builds

This commit is contained in:
Aires 2024-04-17 15:29:31 -04:00
parent df20dd95d3
commit f58fa7a850
3 changed files with 17 additions and 13 deletions

View file

@ -117,11 +117,11 @@
]
},
"locked": {
"lastModified": 1713166971,
"narHash": "sha256-t0P/rKlsE5l1O3O2LYtAelLzp7PeoPCSzsIietQ1hSM=",
"lastModified": 1713294767,
"narHash": "sha256-LmaabaQZdx52MPGKPRt9Opoc9Gd9RbwvCdysUUYQoXI=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1c43dcfac48a2d622797f7ab741670fdbcf8f609",
"rev": "fa8c16e2452bf092ac76f09ee1fb1e9f7d0796e7",
"type": "github"
},
"original": {
@ -174,11 +174,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1712909959,
"narHash": "sha256-7/5ubuwdEbQ7Z+Vqd4u0mM5L2VMNDsBh54visp27CtQ=",
"lastModified": 1713377320,
"narHash": "sha256-OrBm62B+X9jylr6cPgKc+5OSgF2PRW9IY0ARCOtURMY=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "f58b25254be441cd2a9b4b444ed83f1e51244f1f",
"rev": "f2d364de6589f7a029624983593eafc3c4dac726",
"type": "github"
},
"original": {
@ -222,11 +222,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1712963716,
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
"lastModified": 1713248628,
"narHash": "sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U+ISA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
"rev": "5672bc9dbf9d88246ddab5ac454e82318d094bb8",
"type": "github"
},
"original": {

View file

@ -69,6 +69,9 @@ with lib;
# Configure nix
nix = {
# Use the latest and greatest Nix
package = pkgs.nixVersions.unstable;
# Enables Flakes
settings.experimental-features = [ "nix-command" "flakes" ];
@ -79,7 +82,7 @@ with lib;
gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 14d";
options = "--delete-older-than +10"; # Keep only the last ten generations
};
# Configure NixOS to use the same software channel as Flakes

View file

@ -94,9 +94,10 @@ with lib;
# Gnome tweak tools
gnome.gnome-tweaks
# Gnome extensions
gnomeExtensions.appindicator
gnomeExtensions.dash-to-panel
gnomeExtensions.forge
# FIXME: Disable temporarily due to broken version in Nixpkgs
#gnomeExtensions.appindicator
#gnomeExtensions.dash-to-panel
#gnomeExtensions.forge
# Themeing
gnome.gnome-themes-extra
papirus-icon-theme