diff --git a/.gitignore b/.gitignore index 47b8b75..f0d99bd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ result/ result *.img *.img.* + diff --git a/Justfile b/Justfile index fa7007b..72a860d 100644 --- a/Justfile +++ b/Justfile @@ -1,27 +1,28 @@ default: - @just --list + @just --list rebuild host operation: - sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}} + sudo nixos-rebuild {{operation}} --flake ./nixos#{{host}} home-rebuild operation: - home-manager {{operation}} --flake ./nixos + home-manager {{operation}} --flake ./nixos switch host: - just rebuild {{host}} switch - just home-rebuild switch + just rebuild {{host}} switch + just home-rebuild switch clean: - sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old - nix-collect-garbage -d - nix store optimise + sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old + nix-collect-garbage -d + nix store optimise # commit local changes and push to upstream push: - @git add . - git commit -m "~" - git push + @git add . + git commit -m "~" + git push # run `switch` on default host sd: - @just switch ioides + @just switch ioides +