diff --git a/hosts/nixdesk/profiles/ssh-public-port-2050.nix b/hosts/nixdesk/profiles/ssh-public-port-2050.nix index 07ee9c5..f97ee23 100644 --- a/hosts/nixdesk/profiles/ssh-public-port-2050.nix +++ b/hosts/nixdesk/profiles/ssh-public-port-2050.nix @@ -2,6 +2,7 @@ systemd.services.ssh-port2050-natpmp = { bindsTo = ["sshd.socket"]; after = ["sshd.socket"]; + wantedBy = ["multi-user.target"]; serviceConfig.Restart = "on-failure"; serviceConfig.ExecStart = pkgs.writeScript "ssh-port2050-natpmp" '' #!${pkgs.bash}/bin/bash