From b3835dccc49bb93a5a5efd5b90587d745cabba4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 13 Nov 2023 01:58:58 +0100 Subject: [PATCH] packages: properly activate configuration to switch /etc files --- packages.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages.nix b/packages.nix index 3201c942..8b9a31da 100644 --- a/packages.nix +++ b/packages.nix @@ -216,7 +216,14 @@ lib.attrsets.mapAttrs if [[ -n ''${NIXOS_REBUILD:-} ]]; then echo "Switching to configuration..." - ssh ${target} -- ${toplevelOutPath}/bin/switch-to-configuration "''${@:-switch}" + ssh ${target} bash -e <