Change Nix GC period to last 10 builds
This commit is contained in:
parent
df20dd95d3
commit
f58fa7a850
18
flake.lock
18
flake.lock
|
@ -117,11 +117,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713166971,
|
"lastModified": 1713294767,
|
||||||
"narHash": "sha256-t0P/rKlsE5l1O3O2LYtAelLzp7PeoPCSzsIietQ1hSM=",
|
"narHash": "sha256-LmaabaQZdx52MPGKPRt9Opoc9Gd9RbwvCdysUUYQoXI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "1c43dcfac48a2d622797f7ab741670fdbcf8f609",
|
"rev": "fa8c16e2452bf092ac76f09ee1fb1e9f7d0796e7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -174,11 +174,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712909959,
|
"lastModified": 1713377320,
|
||||||
"narHash": "sha256-7/5ubuwdEbQ7Z+Vqd4u0mM5L2VMNDsBh54visp27CtQ=",
|
"narHash": "sha256-OrBm62B+X9jylr6cPgKc+5OSgF2PRW9IY0ARCOtURMY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "f58b25254be441cd2a9b4b444ed83f1e51244f1f",
|
"rev": "f2d364de6589f7a029624983593eafc3c4dac726",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -222,11 +222,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712963716,
|
"lastModified": 1713248628,
|
||||||
"narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
|
"narHash": "sha256-NLznXB5AOnniUtZsyy/aPWOk8ussTuePp2acb9U+ISA=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
|
"rev": "5672bc9dbf9d88246ddab5ac454e82318d094bb8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -69,6 +69,9 @@ with lib;
|
||||||
|
|
||||||
# Configure nix
|
# Configure nix
|
||||||
nix = {
|
nix = {
|
||||||
|
# Use the latest and greatest Nix
|
||||||
|
package = pkgs.nixVersions.unstable;
|
||||||
|
|
||||||
# Enables Flakes
|
# Enables Flakes
|
||||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
|
@ -79,7 +82,7 @@ with lib;
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
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
|
# Configure NixOS to use the same software channel as Flakes
|
||||||
|
|
|
@ -94,9 +94,10 @@ with lib;
|
||||||
# Gnome tweak tools
|
# Gnome tweak tools
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
# Gnome extensions
|
# Gnome extensions
|
||||||
gnomeExtensions.appindicator
|
# FIXME: Disable temporarily due to broken version in Nixpkgs
|
||||||
gnomeExtensions.dash-to-panel
|
#gnomeExtensions.appindicator
|
||||||
gnomeExtensions.forge
|
#gnomeExtensions.dash-to-panel
|
||||||
|
#gnomeExtensions.forge
|
||||||
# Themeing
|
# Themeing
|
||||||
gnome.gnome-themes-extra
|
gnome.gnome-themes-extra
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
|
|
Loading…
Reference in a new issue