diff --git a/system/services/calibre.nix b/system/services/calibre.nix index c1bfd5c..11f914f 100644 --- a/system/services/calibre.nix +++ b/system/services/calibre.nix @@ -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;