1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00
flake/justfile

15 lines
546 B
Makefile

switch *args:
morlana switch {{args}}
wipe-history:
sudo -H nix profile wipe-history --profile "/nix/var/nix/profiles/default"
sudo -H nix profile wipe-history --profile "/nix/var/nix/profiles/system"
sudo -H nix profile wipe-history --profile "/nix/var/nix/profiles/per-user/root/profile"
nix profile wipe-history --profile "${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/profile"
nix profile wipe-history --profile "${XDG_STATE_HOME-$HOME/.local/state}/nix/profiles/home-manager"
update:
nix flake update
gc:
nix store gc