From 378340a514bed9874063501818c1c37674f13140 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Sat, 6 Jan 2024 18:05:37 +0100 Subject: [PATCH] Fixed base64 error when deploying with deploy-to-nixos --- flake-module.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/flake-module.nix b/flake-module.nix index 2831ea4b9..d3de4509c 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -227,7 +227,15 @@ ihpFlake: exit 0 fi - ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch -j auto --use-substitutes --fast --flake .#$1 --target-host $1 --build-host $1 --option substituters https://digitallyinduced.cachix.org --option trusted-public-keys digitallyinduced.cachix.org:digitallyinduced.cachix.org-1:y+wQvrnxQ+PdEsCt91rmvv39qRCYzEgGQaldK26hCKE= + ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch \ + -j auto \ + --use-substitutes \ + --fast \ + --flake .#$1 \ + --target-host $1 \ + --build-host $1 \ + --option extra-substituters "https://digitallyinduced.cachix.org" \ + --option extra-trusted-public-keys "digitallyinduced.cachix.org-1:y+wQvrnxQ+PdEsCt91rmvv39qRCYzEgGQaldK26hCKE=" ssh $1 systemctl start migrate ''; };