Compare commits
No commits in common. "8f5f3a6fa8fb976e4f214a21286c3648bb4144c8" and "5fb43260c81ac76b58e720b73c5f78511bb968a2" have entirely different histories.
8f5f3a6fa8
...
5fb43260c8
1 changed files with 5 additions and 3 deletions
8
justfile
8
justfile
|
|
@ -1,16 +1,18 @@
|
|||
set shell := ["sudo", "bash", "-c"]
|
||||
|
||||
[private]
|
||||
default:
|
||||
@just --list
|
||||
|
||||
[doc("Build and activate the new configuration immediately")]
|
||||
deploy:
|
||||
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
||||
nixos-rebuild switch --flake /etc/nixos#lab
|
||||
|
||||
[doc("Build the configuration without activating it")]
|
||||
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")]
|
||||
update:
|
||||
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