diff --git a/justfile b/justfile index d6d802b..854d63d 100644 --- a/justfile +++ b/justfile @@ -1,12 +1,10 @@ _default: @just --list --unsorted - check-git: # git must be clean test -z "$(git status --porcelain)" - [linux] build *args: check-git sudo nixos-rebuild build --flake . {{args}} |& nom @@ -23,6 +21,9 @@ check: nix flake check clean: + rm result + +collect-garbage: sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old # home-manager expire-generations now sudo nix-collect-garbage --delete-older-than 3d