mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dry() {
|
||||||
|
# poor mans nix flake check
|
||||||
|
nix build "$FLAKE_PATH#nixosConfigurations.$(hostname).config.system.build.toplevel" --dry-run
|
||||||
|
}
|
||||||
|
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
log no command specified see below for help
|
log no command specified see below for help
|
||||||
help
|
help
|
||||||
|
@ -71,7 +76,7 @@ fi
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
fmt | boot | switch | store | build)
|
fmt | boot | switch | store | build | dry)
|
||||||
cmd=$1
|
cmd=$1
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue