fix(nixos): module: wrong separator

This commit is contained in:
2025-10-25 06:50:23 +00:00
parent 450ba9229b
commit af5d46b3f0
2 changed files with 7 additions and 3 deletions

View File

@@ -132,8 +132,8 @@ in {
Type = "simple"; Type = "simple";
ExecStart = "${self.packages.${system}."sentinèlla"}/bin/probe"; ExecStart = "${self.packages.${system}."sentinèlla"}/bin/probe";
Environment = [ Environment = [
"URLS=${lib.concatStringsSep "," cfg.probe.urls}" "URLS=${lib.concatStringsSep " " cfg.probe.urls}"
"VOLUMES=${lib.concatStringsSep "," cfg.probe.volumes}" "VOLUMES=${lib.concatStringsSep " " cfg.probe.volumes}"
"PORT=${builtins.toString cfg.probe.port}" "PORT=${builtins.toString cfg.probe.port}"
]; ];
Restart = "always"; Restart = "always";

View File

@@ -93,6 +93,10 @@ while [ $# -gt 0 ]; do
fi fi
shift 2 shift 2
;; ;;
--)
shift
break
;;
*) *)
shift shift
;; ;;
@@ -179,7 +183,7 @@ if [ "${server_history+x}" ]; then
exit 0 exit 0
fi fi
if [ "${push_server+x}" ]; then if [ "${push_deploy+x}" ]; then
if [ "${server_init+x}" ]; then if [ "${server_init+x}" ]; then
if [ "$is_target_host_nixos" -eq 1 ]; then if [ "$is_target_host_nixos" -eq 1 ]; then
printf 'target host already is nixos, are you realy want to reinstall nixos?\nThis may delete all data [y/N]\n' printf 'target host already is nixos, are you realy want to reinstall nixos?\nThis may delete all data [y/N]\n'