diff --git a/module.nix b/module.nix index cb68237..b983a25 100644 --- a/module.nix +++ b/module.nix @@ -72,6 +72,8 @@ in { enable = true; description = "kogs server"; wants = [ "network-online.target" ]; + after = [ "network-online.target" ]; + wantedBy = [ "multi-user.target" ]; environment = { HOME = "${cfg.dataDir}"; };