From b66d357c56d7bf1c9cec4fe5fc1dc93eb05cc524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Mon, 2 Feb 2026 11:06:12 +0100 Subject: [PATCH] chore: manage.sh accept extraArgs --- manage.sh | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/manage.sh b/manage.sh index d5c1abab..88934620 100755 --- a/manage.sh +++ b/manage.sh @@ -14,19 +14,6 @@ function mk-nixos-cmd-args() { echo "${args[@]}" } -function wrapped-nixos-rebuild() { - hostname="$1" - action="$2" - # shellcheck disable=SC2046 - nixos-rebuild "$action" $(mk-nixos-cmd-args "$hostname") --no-reexec -} - -function wrapped-nixos-install() { - hostname="$1" - # shellcheck disable=SC2046 - nixos-install $(mk-nixos-cmd-args "$hostname") -} - function help() { cat <