Compare commits
2 commits
5fb43260c8
...
8f5f3a6fa8
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f5f3a6fa8 | |||
| 13c18867dc |
1 changed files with 3 additions and 5 deletions
8
justfile
8
justfile
|
|
@ -1,18 +1,16 @@
|
||||||
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:
|
||||||
nixos-rebuild switch --flake /etc/nixos#lab
|
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
||||||
|
|
||||||
[doc("Build the configuration without activating it")]
|
[doc("Build the configuration without activating it")]
|
||||||
check:
|
check:
|
||||||
nixos-rebuild dry-build --flake /etc/nixos#lab
|
sudo 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
|
||||||
nixos-rebuild switch --flake /etc/nixos#lab
|
sudo nixos-rebuild switch --flake /etc/nixos#lab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue