This commit is contained in:
iFargle 2023-11-25 15:26:15 +09:00
parent 99d6e0b758
commit 13e90514e1

View file

@ -9,7 +9,7 @@
enable = true; enable = true;
port = 22; port = 22;
shell = "/bin/cryptsetup-askpass"; shell = "/bin/cryptsetup-askpass";
authorizedKeys = [ config.users.users.albert.openssh.authorizedKeys.keyFiles ]; authorizedKeys = [ config.users.users.${username}.openssh.authorizedKeys.keyFiles ];
hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" "/etc/secrets/initrd/ssh_host_ed25519_key" ]; hostKeys = [ "/etc/secrets/initrd/ssh_host_rsa_key" "/etc/secrets/initrd/ssh_host_ed25519_key" ];
}; };
boot.initrd.availableKernelModules = [ "e1000e" ]; boot.initrd.availableKernelModules = [ "e1000e" ];