This commit is contained in:
Daniel Ziltener 2024-11-05 08:56:26 +01:00
parent 1bc3f4e9c1
commit 52aaec8067
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 15 additions and 7 deletions

View file

@ -44,7 +44,7 @@ install-chicken-doc:
install: install:
touch ~/.vw-session-key touch ~/.vw-session-key
touch ~/.config/hypr/monitors.conf touch ~/.config/hypr/monitors.conf
sudo nix-collect-garbage --delete-old #sudo nix-collect-garbage --delete-old
sudo env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --recreate-lock-file --flake .#ziltis-desktop --impure --show-trace sudo env NIXPKGS_ALLOW_BROKEN=1 nixos-rebuild switch --recreate-lock-file --flake .#ziltis-desktop --impure --show-trace
# end # end

View file

@ -331,6 +331,14 @@
randomizedDelaySec = "45min"; randomizedDelaySec = "45min";
}; };
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you # (/run/current-system/configuration.nix). This is useful in case you
# accidentally delete configuration.nix. # accidentally delete configuration.nix.

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730016908, "lastModified": 1730633670,
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=", "narHash": "sha256-ZFJqIXpvVKvzOVFKWNRDyIyAo+GYdmEPaYi1bZB6uf0=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e83414058edd339148dc142a8437edb9450574c8", "rev": "8f6ca7855d409aeebe2a582c6fd6b6a8d0bf5661",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1730200266, "lastModified": 1730531603,
"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=", "narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd", "rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
"type": "github" "type": "github"
}, },
"original": { "original": {