blob: 9812ce8265a7b5a129eae0e8d370ef115b3a7f6b (
plain) (
tree)
|
|
{ adminUser, ... }:
{
boot.kernelParams = [
"ip=dhcp"
];
boot.initrd.network = {
enable = true;
postCommands = "echo 'cryptsetup-askpass' >> /root/.profile";
flushBeforeStage2 = true;
ssh = {
enable = true;
port = 911;
hostKeys = [
"/etc/initrd/ssh_host_ed25519_key"
];
authorizedKeys = with adminUser.userinfo.sshPublicKeys; [
onepassword
yubikey-personal-nano
yubikey-personal-keychain
yubikey-personal-backup
];
};
};
}
|