diff options
author | RatCornu <balthazar.patiachvili@crans.org> | 2024-02-24 19:32:03 +0100 |
---|---|---|
committer | RatCornu <balthazar.patiachvili@crans.org> | 2024-02-24 19:43:03 +0100 |
commit | 2f460b3f53867d1a4949cae7417203b1a457ea48 (patch) | |
tree | 04ef9da02fff44d626468ab510ef1aa702310809 /nixos/modules | |
parent | 2d2ccff700f83588f1dc290f77e428fe85c90819 (diff) | |
download | nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar.gz nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar.bz2 nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar.lz nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar.xz nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.tar.zst nixlib-2f460b3f53867d1a4949cae7417203b1a457ea48.zip |
nixos/suwayomi-server: add option `settings.server.extensionRepos`
This option is now a key feature of Suwayomi-Server, so it is interesting to have it directly available in a quick search.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-apps/suwayomi-server.md | 3 | ||||
-rw-r--r-- | nixos/modules/services/web-apps/suwayomi-server.nix | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/suwayomi-server.md b/nixos/modules/services/web-apps/suwayomi-server.md index ff1e06c8a53a..18e7a631443f 100644 --- a/nixos/modules/services/web-apps/suwayomi-server.md +++ b/nixos/modules/services/web-apps/suwayomi-server.md @@ -101,6 +101,9 @@ Not all the configuration options are available directly in this module, but you port = 4567; autoDownloadNewChapters = false; maxSourcesInParallel" = 6; + extensionRepos = [ + "https://raw.githubusercontent.com/MY_ACCOUNT/MY_REPO/repo/index.min.json" + ]; }; }; }; diff --git a/nixos/modules/services/web-apps/suwayomi-server.nix b/nixos/modules/services/web-apps/suwayomi-server.nix index 94dbe6f99356..99c6ea2a36e6 100644 --- a/nixos/modules/services/web-apps/suwayomi-server.nix +++ b/nixos/modules/services/web-apps/suwayomi-server.nix @@ -102,6 +102,17 @@ in ''; }; + extensionRepos = mkOption { + type = types.listOf types.str; + default = []; + example = [ + "https://raw.githubusercontent.com/MY_ACCOUNT/MY_REPO/repo/index.min.json" + ]; + description = mdDoc '' + URL of repositories from which the extensions can be installed. + ''; + }; + localSourcePath = mkOption { type = types.path; default = cfg.dataDir; |