added ssh_decrypt

This commit is contained in:
2024-09-14 21:13:04 -04:00
parent 4a02e03d32
commit 990d5c2f82
2 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
{ config, ... }:
{
boot.initrd.network = {
enable = true;
ssh = {
enable = true;
port = 2222;
hostKeys = [ "/etc/ssh/initrd_ssh_host_ed25519_key" ];
authorizedKeys = config.users.users.richie.openssh.authorizedKeys.keys;
};
};
}

View File

@@ -6,6 +6,7 @@ in
imports = [
../../users/richie
../common/global
../common/optional/ssh_decrypt.nix
../common/optional/syncthing_base.nix
../common/optional/systemd-boot.nix
../common/optional/zerotier.nix