mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Adopt nix setup and joex module
This commit is contained in:
@ -13,6 +13,7 @@ let
|
||||
app-name = "Docspell";
|
||||
app-id = "rest1";
|
||||
base-url = "http://localhost:7880";
|
||||
internal-url = "http://localhost:7880";
|
||||
max-item-page-size = 200;
|
||||
max-note-length = 180;
|
||||
show-classification-settings = true;
|
||||
@ -145,6 +146,17 @@ in {
|
||||
'';
|
||||
};
|
||||
|
||||
internal-url = mkOption {
|
||||
type = types.str;
|
||||
default = defaults.internal-url;
|
||||
description = ''
|
||||
This url is the base url for reaching this server internally.
|
||||
While you might set `base-url` to some external address (like
|
||||
mydocs.myserver.com), the `internal-url` must be set such that
|
||||
other nodes can reach this server.
|
||||
'';
|
||||
};
|
||||
|
||||
max-item-page-size = mkOption {
|
||||
type = types.int;
|
||||
default = defaults.max-item-page-size;
|
||||
|
Reference in New Issue
Block a user