default to switch
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -x
|
|
||||||
|
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
@@ -8,4 +7,4 @@ else
|
|||||||
h="$1"
|
h="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nixos-rebuild --flake /etc/nixos#${h} dry-run
|
nixos-rebuild --flake /etc/nixos#${h} switch
|
||||||
|
|||||||
Reference in New Issue
Block a user