refactor: use underscores for stateDir & cacheDir instead of hyphens

This commit is contained in:
Price Hiller 2023-12-19 01:52:49 -06:00
parent 5a6f5f122f
commit 65fa6492a4
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -65,7 +65,7 @@ in
stateDir = lib.mkOption { stateDir = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "squad/${replaceNonAlum "-" name}"; default = "squad/${replaceNonAlum "_" name}";
description = '' description = ''
State directory for the systemd user service. This is where the Squad Server will be State directory for the systemd user service. This is where the Squad Server will be
installed to along with configuration. installed to along with configuration.
@ -74,7 +74,7 @@ in
cacheDir = lib.mkOption { cacheDir = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "squad/${replaceNonAlum "-" name}"; default = "squad/${replaceNonAlum "_" name}";
description = '' description = ''
State directory for the systemd user service. State directory for the systemd user service.
''; '';