From d343fcda115dc735216248ae88a7daa4ebe2f605 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Fri, 15 Nov 2024 00:21:00 +0800 Subject: [PATCH] [fix] typo and add ensure-symlinked wantedBy --- system.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system.nix b/system.nix index 7e597c7..e5c7958 100644 --- a/system.nix +++ b/system.nix @@ -16,13 +16,13 @@ enable = true; serviceConfig = { Type = "notify-reload"; - ExecStart = "/usr/bin/sshg -D"; + ExecStart = "/usr/bin/sshd -D"; KillMode = "process"; Restart = "always"; }; wants = [ "sshdgenkeys.service" ]; after = [ "sshdgenkeys.service" "network.target" ]; - wantedBy = [ "multi-user.target" ]; + wantedBy = [ "ensure-symlinked-units-resolve.service" "system-manager.target" ]; }; zerotierone = {