meat
This commit is contained in:
parent
7f3dc64568
commit
d4a800971f
6 changed files with 65 additions and 34 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
cmd=${1:help}
|
||||
shift
|
||||
|
||||
|
@ -13,6 +14,7 @@ call_nix() {
|
|||
env NIX_PATH="${nix_path}" nixos-rebuild "$cmd" --fast "$@"
|
||||
}
|
||||
|
||||
|
||||
cd $FLAKE
|
||||
case $cmd in
|
||||
look)
|
||||
|
@ -20,21 +22,21 @@ case $cmd in
|
|||
;;
|
||||
|
||||
fresh)
|
||||
nix flake update "$@"
|
||||
nix flake update $@
|
||||
;;
|
||||
|
||||
yum)
|
||||
nh os switch -- "$@"
|
||||
nh os switch -- $@
|
||||
# call_nix switch "$@"
|
||||
;;
|
||||
|
||||
cook)
|
||||
nh os build "$@"
|
||||
nh os build $@
|
||||
# call_nix build "$@"
|
||||
;;
|
||||
|
||||
poke)
|
||||
nh os build -- --show-trace "$@"
|
||||
nh os build -- --show-trace $@
|
||||
# call_nix build --show-trace "$@"
|
||||
;;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue