diff --git a/justfile b/justfile index 86a41bf..37a8a0e 100644 --- a/justfile +++ b/justfile @@ -2,6 +2,7 @@ alias c := check alias s := switch +alias d := deploy default: @just --choose @@ -12,3 +13,6 @@ check: [linux] switch *args: sudo nixos-rebuild switch --flake . --keep-going {{ args }} + +deploy system: + deploy -s .#{{ system }} \ No newline at end of file diff --git a/parts/dev.nix b/parts/dev.nix index 358c49a..dc23e22 100644 --- a/parts/dev.nix +++ b/parts/dev.nix @@ -1,7 +1,7 @@ { perSystem = {pkgs, ...}: { devShells.default = pkgs.mkShellNoCC { - packages = with pkgs; [just nil]; + packages = with pkgs; [just nil deploy-rs]; }; formatter = pkgs.alejandra;