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
update:
nix flake update
nix flake update --extra-experimental-features nix-command
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:
# 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
sudo nix store gc --debug
sudo nix store gc --debug --extra-experimental-features nix-command

View File

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