summaryrefslogtreecommitdiffstats
path: root/nix-script-switch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nix-script-switch.sh')
-rwxr-xr-xnix-script-switch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-script-switch.sh b/nix-script-switch.sh
index ffc0cac..b6e8a2b 100755
--- a/nix-script-switch.sh
+++ b/nix-script-switch.sh
@@ -16,7 +16,7 @@ usage() {
-n DON'T include hostname in tag name
-t <tagname> Custom tag name
-p <pkgs> Generate the switch tag in the nixpkgs at <pkgs> as well. (default: '$RC_NIXPKGS')
- -f <tag-flags> Flags for git-tag (see 'git tag --help')
+ -f <tag-flags> Flags for git-tag (see 'git tag --help') (default: '$RC_SWITCH_DEFAULT_TAG_FLAGS')
-b Do not call nixos-rebuild at all.
-h Show this help and exit
@@ -53,7 +53,7 @@ WD=$RC_CONFIG
TAG_NAME=
HOSTNAME="$(hostname)"
NIXPKGS=$RC_NIXPKGS
-TAG_FLAGS=""
+TAG_FLAGS="$RC_SWITCH_DEFAULT_TAG_FLAGS"
DONT_BUILD=
while getopts "c:w:t:nbp:f:h" OPTION