mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01: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:
|
||||
just --list --unsorted
|
||||
|
||||
switch:
|
||||
nh os switch .
|
||||
|
||||
test:
|
||||
nh os test .
|
||||
|
||||
boot:
|
||||
nh os boot .
|
||||
|
||||
reboot: boot
|
||||
reboot
|
||||
rebuild mode='switch':
|
||||
nh os {{ if mode == 'reboot' { 'boot' } else { mode } }} .
|
||||
{{ if mode == 'reboot' { 'reboot' } else { '' } }}
|
||||
|
||||
update:
|
||||
nix flake update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue