feat: justfile
This commit is contained in:
parent
d154344930
commit
78858c11b5
1 changed files with 12 additions and 0 deletions
12
justfile
Normal file
12
justfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[doc("Build and activate the new configuration immediately")]
|
||||
deploy:
|
||||
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
||||
|
||||
[doc("Build the configuration without activating it")]
|
||||
check:
|
||||
sudo nixos-rebuild dry-build --flake /etc/nixos#lab
|
||||
|
||||
[doc("Pull latest from Forgejo, then build and activate")]
|
||||
update:
|
||||
git pull
|
||||
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
||||
Loading…
Add table
Add a link
Reference in a new issue