mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add new arg to styx
This commit is contained in:
parent
c57d02fdb1
commit
159f911d68
1 changed files with 6 additions and 1 deletions
|
@ -64,6 +64,11 @@ build() {
|
|||
esac
|
||||
}
|
||||
|
||||
dry() {
|
||||
# poor mans nix flake check
|
||||
nix build "$FLAKE_PATH#nixosConfigurations.$(hostname).config.system.build.toplevel" --dry-run
|
||||
}
|
||||
|
||||
if [[ $# -eq 0 ]]; then
|
||||
log no command specified see below for help
|
||||
help
|
||||
|
@ -71,7 +76,7 @@ fi
|
|||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case $1 in
|
||||
fmt | boot | switch | store | build)
|
||||
fmt | boot | switch | store | build | dry)
|
||||
cmd=$1
|
||||
shift
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue