set shell in just
This commit is contained in:
parent
53b0634079
commit
44cd74c909
1 changed files with 5 additions and 3 deletions
8
justfile
8
justfile
|
|
@ -1,16 +1,18 @@
|
||||||
|
set shell := ["sudo", "bash", "-c"]
|
||||||
|
|
||||||
[private]
|
[private]
|
||||||
default:
|
default:
|
||||||
@just --list
|
@just --list
|
||||||
|
|
||||||
[doc("Build and activate the new configuration immediately")]
|
[doc("Build and activate the new configuration immediately")]
|
||||||
deploy:
|
deploy:
|
||||||
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
nixos-rebuild switch --flake /etc/nixos#lab
|
||||||
|
|
||||||
[doc("Build the configuration without activating it")]
|
[doc("Build the configuration without activating it")]
|
||||||
check:
|
check:
|
||||||
sudo nixos-rebuild dry-build --flake /etc/nixos#lab
|
nixos-rebuild dry-build --flake /etc/nixos#lab
|
||||||
|
|
||||||
[doc("Pull latest from Forgejo, then build and activate")]
|
[doc("Pull latest from Forgejo, then build and activate")]
|
||||||
update:
|
update:
|
||||||
git pull
|
git pull
|
||||||
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
nixos-rebuild switch --flake /etc/nixos#lab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue