diff --git a/flake.nix b/flake.nix index 9e6368b..875a293 100644 --- a/flake.nix +++ b/flake.nix @@ -130,11 +130,7 @@ ssh \ ${lib.optionalString unlockOverV4 "-4"} \ -p 2222 \ - "root@$(${pkgs.dnsutils}/bin/dig \ - +short \ - @${if unlockOverV4 then "8.8.8.8" else "2001:4860:4860::8888"} \ - ${targetHost} \ - ${if unlockOverV4 then "A" else "AAAA"})" \ + "root@${targetHost}" \ "cat > /crypt-ramfs/passphrase" < <(pass "devices/${hostname}/luks") '') self.nixosConfigurations);