summary refs log tree commit diff
path: root/nixos/modules/services/games/ghost-one.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/games/ghost-one.nix')
-rw-r--r--nixos/modules/services/games/ghost-one.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/games/ghost-one.nix b/nixos/modules/services/games/ghost-one.nix
index 07d7287ed88..5762148df2b 100644
--- a/nixos/modules/services/games/ghost-one.nix
+++ b/nixos/modules/services/games/ghost-one.nix
@@ -78,8 +78,8 @@ in
       bot_replaypath = replays
     '';
 
-    jobs.ghostOne = {
-      name = "ghost-one";
+    systemd.services."ghost-one" = {
+      wantedBy = [ "multi-user.target" ];
       script = ''
         mkdir -p ${stateDir}
         cd ${stateDir}