blob: 2b865d50ef8cf75f554c343f1afb226e37a32505 (
plain) (
tree)
|
|
{ config, lib, pkgs, ... }:
{
boot.initrd = {
network = {
enable = true;
postCommands = ''
echo "cryptsetup-askpass; exit" > /root/.profile
'';
ssh = {
enable = true;
port = 2222;
hostKeys = [
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_rsa_key
];
authorizedKeys = config.users.users.fcuny.openssh.authorizedKeys.keys;
};
};
};
}
|