Upgrade to nixos 20.09

This commit is contained in:
Fabian Hauser 2020-11-28 20:46:40 +00:00
parent 024105c44c
commit 120cec699d
3 changed files with 22 additions and 9 deletions

View file

@ -61,9 +61,8 @@ in {
user.openssh.authorizedKeys.keys
else
[ ]) config.users.users);
hostRSAKey = /boot/dropbear_rsa_host_key;
hostECDSAKey = /boot/dropbear_ecdsa_host_key;
# Key generation with dropbearkey -t <type> -f <output-keyfile>
# Generate hostkey with ssh-keygen -t ed25519 -N "" -f /secrets/initrd_ssh_key_ed25519
hostKeys = [ "/secrets/initrd_ssh_key_ed25519" ];
};
postCommands = ''
echo 'cryptsetup-askpass' >> /root/.profile