From 65fa6492a4937d95e756255847c1eafd875611cf Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 19 Dec 2023 01:52:49 -0600 Subject: [PATCH] refactor: use underscores for stateDir & cacheDir instead of hyphens --- modules/squad-server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/squad-server.nix b/modules/squad-server.nix index 06be45a..537ecc9 100644 --- a/modules/squad-server.nix +++ b/modules/squad-server.nix @@ -65,7 +65,7 @@ in stateDir = lib.mkOption { type = lib.types.str; - default = "squad/${replaceNonAlum "-" name}"; + default = "squad/${replaceNonAlum "_" name}"; description = '' State directory for the systemd user service. This is where the Squad Server will be installed to along with configuration. @@ -74,7 +74,7 @@ in cacheDir = lib.mkOption { type = lib.types.str; - default = "squad/${replaceNonAlum "-" name}"; + default = "squad/${replaceNonAlum "_" name}"; description = '' State directory for the systemd user service. '';