From 7c206927dcfd0ae5ab29e679b60b1bfa54807552 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 4 Oct 2022 07:29:34 +0100 Subject: [PATCH] build: allow for specifying the command --- justfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/justfile b/justfile index 667a164..7f2e829 100644 --- a/justfile +++ b/justfile @@ -1,14 +1,14 @@ default: just --list -apollo *args: - sudo nixos-rebuild switch --flake .#apollo {{ args }} +apollo command *args: + sudo nixos-rebuild {{ command }} --flake .#apollo {{ args }} -pop-os *args: - home-manager switch -f home-manager/home.nix --flake .#pop-os {{ args }} +pop-os command *args: + home-manager {{ command }} -f home-manager/home.nix --flake .#pop-os {{ args }} -wsl2 *args: - home-manager switch -f home-manager/home.nix --flake .#wsl2 {{ args }} +wsl2 command *args: + home-manager {{ command }} -f home-manager/home.nix --flake .#wsl2 {{ args }} -update: - nix flake update +update *args: + nix flake update {{ args }}