This commit is contained in:
Kopatz
2025-11-24 18:55:01 +01:00
parent b0243aa4d9
commit 4af80a4f69
6 changed files with 57 additions and 55 deletions

View File

@@ -12,7 +12,7 @@ in
options.custom.services.terraria = {
enable = lib.mkEnableOption "Enables terraria server";
path = lib.mkOption {
type = with lib.types; string;
type = with lib.types; str;
default = "/data/servers/terraria";
description = "Base path for terraria server";
};

View File

@@ -12,7 +12,7 @@ in
options.custom.services.syncthing = {
enable = lib.mkEnableOption "Enables syncthing";
basePath = lib.mkOption {
type = with lib.types; string;
type = with lib.types; str;
default = "/home/${config.mainUser.name}/synced";
description = "Base path for syncthing data";
};