fix: calibre group options fix

This commit is contained in:
2025-11-01 23:26:28 +01:00
parent 323d7e4742
commit 68ec2cd6b2

View File

@@ -13,22 +13,22 @@ in {
default = "phundrak";
};
group = mkOption {
type = types.string;
type = types.str;
default = "users";
};
dataDir = mkOption {
type = types.string;
type = types.str;
example = "/tank/calibre/conf";
default = "/tank/calibre/conf";
};
library = mkOption {
type = types.string;
type = types.str;
example = "/tank/calibre/library";
default = "/tank/calibre/library";
};
};
config.services.calibre-web = mkIf cfg.enable {
inherit (cfg) enable user group dataDir;
inherit (cfg) enable user dataDir group;
options = {
calibreLibrary = cfg.library;
enableBookConversion = true;