feat(dev): add deploy justfile recipe
This commit is contained in:
parent
3ab5c19968
commit
c60e8df3e3
2 changed files with 5 additions and 1 deletions
4
justfile
4
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 }}
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue