Skip to content

Commit

Permalink
Fixed base64 error when deploying with deploy-to-nixos
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jan 6, 2024
1 parent edf2bf6 commit 378340a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
};
Expand Down

0 comments on commit 378340a

Please sign in to comment.