From a11f254768d2197ee72becbfaab15f58ff678478 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 24 Jul 2024 09:00:16 -0600 Subject: [PATCH] add wants to the module, switch wantedBy to multi-user --- module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.nix b/module.nix index e2b06f4..8dc14ea 100644 --- a/module.nix +++ b/module.nix @@ -73,9 +73,9 @@ in { systemd.services.pots = { enable = true; description = "pots server"; - wantedBy = [ "network-online.target" ]; after = [ "network-online.target" ]; - + wantedBy = [ "multi-user.target" ]; + wants = [ "network-online.target" ]; environment = { HOME = "${cfg.dataDir}"; }; serviceConfig = {