diff --git a/lib/fudo/initrd-network.nix b/lib/fudo/initrd-network.nix index af58c85..84601d5 100644 --- a/lib/fudo/initrd-network.nix +++ b/lib/fudo/initrd-network.nix @@ -10,10 +10,7 @@ let concatLists = lsts: concatMap (i: i) lsts; gen-sshfp-records-pkg = hostname: pubkey: let - pubkey-file = builtins.writeTextFile { - name = "${hostname}-initrd-ssh-pubkey"; - text = pubkey; - }; + pubkey-file = writeText "${hostname}-initrd-ssh-pubkey" pubkey; in pkgs.stdenv.mkDerivation { name = "${hostname}-initrd-ssh-firngerprint";