diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2024-03-23 17:56:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 17:56:19 +0100 |
commit | 9ae4475cffdf4624622aa0a01ec9563e39301c5c (patch) | |
tree | 100745978d8971311d1a901f535ae86e690b62b9 /nixos | |
parent | 2d1b650e33eb743763de6e2a87c33dd7de1d334b (diff) | |
parent | 2f460b3f53867d1a4949cae7417203b1a457ea48 (diff) |
Merge pull request #291214 from RatCornu/suwayomi-server
suwayomi-server: 0.7.0 -> 1.0.0
Diffstat (limited to 'nixos')
-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 ff1e06c8a53ae..18e7a631443f4 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 94dbe6f99356e..99c6ea2a36e60 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; |