From 2d997008d47b7052459109b626ff1369c3298a9b Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 27 Dec 2025 06:11:18 +0100 Subject: [PATCH] consistent paths --- nix/modules/default/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix index ee584121a..0b3b2d9d7 100644 --- a/nix/modules/default/default.nix +++ b/nix/modules/default/default.nix @@ -153,10 +153,10 @@ in "@system-service" "~@privileged" ]; - WorkingDirectory = "/var/lib/spacebarchat-server/"; - StateDirectory = "spacebar-server"; + WorkingDirectory = "/var/lib/spacebar/"; + StateDirectory = "spacebar"; StateDirectoryMode = "0750"; - RuntimeDirectory = "spacebarchat"; + RuntimeDirectory = "spacebar"; RuntimeDirectoryMode = "0750"; Restart = "on-failure"; @@ -178,7 +178,7 @@ in # } ]; -# systemd.tmpfiles.rules = [ "d /run/spacebarchat 0750 spacebar spacebar" ]; + # systemd.tmpfiles.rules = [ "d /run/spacebarchat 0750 spacebar spacebar" ]; users.users.spacebarchat = { isSystemUser = true; @@ -194,7 +194,7 @@ in { # things we set by default... EVENT_TRANSMISSION = "unix"; - EVENT_SOCKET_PATH = "/run/spacebarchat/"; + EVENT_SOCKET_PATH = "/run/spacebar/"; } // cfg.extraEnvironment // { @@ -223,7 +223,7 @@ in { # things we set by default... EVENT_TRANSMISSION = "unix"; - EVENT_SOCKET_PATH = "/run/spacebarchat/"; + EVENT_SOCKET_PATH = "/run/spacebar/"; } // cfg.extraEnvironment // { @@ -252,7 +252,7 @@ in { # things we set by default... EVENT_TRANSMISSION = "unix"; - EVENT_SOCKET_PATH = "/run/spacebarchat/"; + EVENT_SOCKET_PATH = "/run/spacebar/"; } // cfg.extraEnvironment // {