From f2e479415c18fbb72e9b32a1524bd515f969e942 Mon Sep 17 00:00:00 2001 From: roxwize Date: Thu, 5 Jun 2025 22:31:34 -0400 Subject: [PATCH] ~ --- .gitignore | 1 + Justfile | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) 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 +