mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Refactor justfile
This commit is contained in:
parent
a3bee25696
commit
3a87740e05
1 changed files with 3 additions and 11 deletions
14
justfile
14
justfile
|
|
@ -3,17 +3,9 @@ set quiet := true
|
||||||
default:
|
default:
|
||||||
just --list --unsorted
|
just --list --unsorted
|
||||||
|
|
||||||
switch:
|
rebuild mode='switch':
|
||||||
nh os switch .
|
nh os {{ if mode == 'reboot' { 'boot' } else { mode } }} .
|
||||||
|
{{ if mode == 'reboot' { 'reboot' } else { '' } }}
|
||||||
test:
|
|
||||||
nh os test .
|
|
||||||
|
|
||||||
boot:
|
|
||||||
nh os boot .
|
|
||||||
|
|
||||||
reboot: boot
|
|
||||||
reboot
|
|
||||||
|
|
||||||
update:
|
update:
|
||||||
nix flake update
|
nix flake update
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue