summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-27 06:11:18 +0100
committerRory& <root@rory.gay>2025-12-27 06:11:18 +0100
commit2d997008d47b7052459109b626ff1369c3298a9b (patch)
tree9bd190e70d13285b3b6fd7729554686d2160c0a0
parentcreate group (diff)
downloadserver-ts-2d997008d47b7052459109b626ff1369c3298a9b.tar.xz
consistent paths
-rw-r--r--nix/modules/default/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nix/modules/default/default.nix b/nix/modules/default/default.nix

index ee584121..0b3b2d9d 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 // {