From 0be4caf364701e7392da3249ea55607193a24dd9 Mon Sep 17 00:00:00 2001
From: Zynh Ludwig <zynh0722@gmail.com>
Date: Fri, 27 Dec 2024 02:58:39 -0800
Subject: [PATCH] systemd not user service

---
 modules/nyazoom.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/nyazoom.nix b/modules/nyazoom.nix
index 86e9667..711f5b8 100644
--- a/modules/nyazoom.nix
+++ b/modules/nyazoom.nix
@@ -11,7 +11,7 @@ in
   };
 
   config = lib.mkIf cfg.enable {
-    systemd.user.services.nyazoom = {
+    systemd.services.nyazoom = {
       script = ''
         DATABASE_URL="sqlite:///var/lib/nyazoom/data" ${lib.getExe nyazoom}
       '';