diff options
Diffstat (limited to 'hosts/common/system/boot-ssh.nix')
-rw-r--r-- | hosts/common/system/boot-ssh.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/hosts/common/system/boot-ssh.nix b/hosts/common/system/boot-ssh.nix deleted file mode 100644 index 2b865d5..0000000 --- a/hosts/common/system/boot-ssh.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ 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; - }; - }; - }; -} |