From af5d46b3f0fffa28bba0acf04664697d59e6a366 Mon Sep 17 00:00:00 2001 From: yukkop Date: Sat, 25 Oct 2025 06:50:23 +0000 Subject: [PATCH] fix(nixos): `module`: wrong separator --- nixos/module/hectic/service/sentinèlla.nix | 4 ++-- package/deploy/deploy.sh | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/nixos/module/hectic/service/sentinèlla.nix b/nixos/module/hectic/service/sentinèlla.nix index f4724b6..02b3530 100644 --- a/nixos/module/hectic/service/sentinèlla.nix +++ b/nixos/module/hectic/service/sentinèlla.nix @@ -132,8 +132,8 @@ in { Type = "simple"; ExecStart = "${self.packages.${system}."sentinèlla"}/bin/probe"; Environment = [ - "URLS=${lib.concatStringsSep "," cfg.probe.urls}" - "VOLUMES=${lib.concatStringsSep "," cfg.probe.volumes}" + "URLS=${lib.concatStringsSep " " cfg.probe.urls}" + "VOLUMES=${lib.concatStringsSep " " cfg.probe.volumes}" "PORT=${builtins.toString cfg.probe.port}" ]; Restart = "always"; diff --git a/package/deploy/deploy.sh b/package/deploy/deploy.sh index 856ad76..85a63a3 100644 --- a/package/deploy/deploy.sh +++ b/package/deploy/deploy.sh @@ -93,6 +93,10 @@ while [ $# -gt 0 ]; do fi shift 2 ;; + --) + shift + break + ;; *) shift ;; @@ -179,7 +183,7 @@ if [ "${server_history+x}" ]; then exit 0 fi -if [ "${push_server+x}" ]; then +if [ "${push_deploy+x}" ]; then if [ "${server_init+x}" ]; 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'