This commit is contained in:
Sense T 2023-06-29 07:09:41 +08:00
parent bab983e210
commit 7cca006d22
2 changed files with 5 additions and 4 deletions

View File

@ -11,14 +11,14 @@ debug:
nixos-rebuild switch --flake '.#gpd' --use-remote-sudo --show-trace --verbose nixos-rebuild switch --flake '.#gpd' --use-remote-sudo --show-trace --verbose
update: update:
nix flake update nix flake update --extra-experimental-features nix-command
history: history:
nix profile history --profile /nix/var/nix/profiles/system nix profile history --profile /nix/var/nix/profiles/system --extra-experimental-features nix-command
gc: gc:
# remove all generations older than 7 days # remove all generations older than 7 days
sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d sudo nix profile wipe-history --profile /nix/var/nix/profiles/system --older-than 7d --extra-experimental-features nix-command
# garbage collect all unused nix store entries # garbage collect all unused nix store entries
sudo nix store gc --debug sudo nix store gc --debug --extra-experimental-features nix-command

View File

@ -13,6 +13,7 @@
#rofi #rofi
#rofi-rbw #rofi-rbw
nwg-launchers nwg-launchers
make
]; ];
sessionPath = [ sessionPath = [