blob: d93bb3f872f68d52762ffb4aab3be11f4c94f977 (
plain) (
tree)
|
|
{ adminUser, ... }:
{
boot.kernelParams = [
"ip=dhcp"
];
boot.initrd.network = {
enable = true;
flushBeforeStage2 = true;
ssh = {
enable = true;
port = 911;
hostKeys = [
"/persist/secrets/ssh_host_ed25519_key"
];
authorizedKeys = with adminUser.userinfo.sshPublicKeys; [
yubikey-personal-nano
yubikey-personal-keychain
yubikey-personal-backup
];
};
};
}
|