mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
use pixos-rebuild more
This commit is contained in:
parent
346ad6aecf
commit
e195e1df05
1 changed files with 2 additions and 1 deletions
|
@ -76,7 +76,8 @@ proc cache(c: OizysContext) =
|
|||
|
||||
|
||||
proc nixosRebuild(c: OizysContext, subcmd: string) =
|
||||
execQuit "sudo nixos-rebuild " & subcmd & " " & " --flake " & c.flake
|
||||
let cmd = if c.pinix: "pixos-rebuild" else: "nixos-rebuild"
|
||||
execQuit "sudo " & cmd & " " & subcmd & " " & " --flake " & c.flake
|
||||
|
||||
proc boot(c: OizysContext) =
|
||||
## nixos rebuild boot
|
||||
|
|
Loading…
Reference in a new issue