hetzner-dedicated/zfs: Escape the dollars

This commit is contained in:
Akshay Mankar 2023-10-13 18:10:19 +02:00
parent f98e8f1e9f
commit f02ab059de
Signed by: axeman
GPG key ID: CA08F3AB62369B89

View file

@ -404,7 +404,7 @@ cat > /mnt/etc/nixos/configuration.nix <<EOF
"2001:4860:4860::8844" "2001:4860:4860::8844"
]; ];
users.users.root.initialHashedPassword = "$y$j9T$bIN6GjQkmPMllOcQsq52K0$q0Z5B5.KW/uxXK9fItB8H6HO79RYAcI/ZZdB0Djke32"; users.users.root.initialHashedPassword = "\$y\$j9T\$bIN6GjQkmPMllOcQsq52K0\$q0Z5B5.KW/uxXK9fItB8H6HO79RYAcI/ZZdB0Djke32";
services.openssh.permitRootLogin = "prohibit-password"; services.openssh.permitRootLogin = "prohibit-password";
users.users.root.openssh.authorizedKeys.keys = ["$SSH_PUB_KEY"]; users.users.root.openssh.authorizedKeys.keys = ["$SSH_PUB_KEY"];