tv initrd/sshd: init
This commit is contained in:
parent
65829c6fb6
commit
f9adf3af97
17
tv/2configs/initrd/sshd.nix
Normal file
17
tv/2configs/initrd/sshd.nix
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{ config, ... }: {
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"e1000e"
|
||||||
|
];
|
||||||
|
boot.initrd.network.enable = true;
|
||||||
|
boot.initrd.network.ssh = {
|
||||||
|
enable = true;
|
||||||
|
port = 11423;
|
||||||
|
authorizedKeys = [
|
||||||
|
config.krebs.users.tv.pubkey
|
||||||
|
];
|
||||||
|
ignoreEmptyHostKeys = true;
|
||||||
|
};
|
||||||
|
boot.initrd.secrets = {
|
||||||
|
"/etc/ssh/ssh_host_rsa_key" = <secrets/initrd/ssh_host_rsa_key>;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user