From f4e2565099ae4eb1951b9b8cfe28cdbc35d1d4c4 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Fri, 26 Apr 2024 07:54:28 -0300 Subject: [PATCH] hm: remove services, no way to have services not auto start --- home-manager.nix | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/home-manager.nix b/home-manager.nix index 58a8a87..e14b407 100644 --- a/home-manager.nix +++ b/home-manager.nix @@ -326,51 +326,4 @@ "x-scheme-handler/https" = "firefox"; "x-scheme-handler/unknown" = "firefox"; }; - - # Configure custom services - systemd.user.services = { - palserver = { - Unit = { Description = "Palworld Server"; }; - - Service = { - ExecStart = - "/etc/profiles/per-user/wizardlink/bin/fhs -c 'EpicApp=PalServer ./PalServer.sh -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS'"; - Restart = "always"; - #RuntimeMaxSec = "4h"; - Type = "simple"; - WorkingDirectory = "/mnt/ssd/Games/Steam/steamapps/common/PalServer"; - }; - - Install = { WantedBy = [ "default.target" ]; }; - }; - - foundry = { - Unit = { Description = "FoundryVTT server"; }; - - Service = { - ExecStart = - "/etc/profiles/per-user/wizardlink/bin/fhs -c 'node ./resources/app/main.js'"; - Restart = "on-failure"; - Type = "simple"; - WorkingDirectory = "/mnt/ssd/Games/FoundryVTT/FoundryProgram"; - }; - - Install = { WantedBy = [ "default.target" ]; }; - }; - - veloren = { - Unit = { Description = "FoundryVTT server"; }; - - Service = { - ExecStart = - "/etc/profiles/per-user/wizardlink/bin/fhs -c './veloren-server-cli'"; - Restart = "on-failure"; - Type = "simple"; - WorkingDirectory = - "/home/wizardlink/.local/share/airshipper/profiles/default"; - }; - - Install = { WantedBy = [ "default.target" ]; }; - }; - }; }