mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
feat: lix, morlana, spdx-gen
This commit is contained in:
parent
b9832c59cf
commit
9cd5e745cd
6 changed files with 206 additions and 71 deletions
10
justfile
10
justfile
|
|
@ -1,8 +1,12 @@
|
|||
switch *args:
|
||||
darwin-rebuild switch --flake . --verbose --show-trace {{args}}
|
||||
morlana switch {{args}}
|
||||
|
||||
delete-old:
|
||||
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old && home-manager expire-generations now
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue