diff options
author | FliegendeWurst <2012gdwu+github@posteo.de> | 2021-05-17 15:37:16 +0200 |
---|---|---|
committer | FliegendeWurst <2012gdwu+github@posteo.de> | 2021-05-24 09:55:49 +0200 |
commit | b9e2b878c52f6081ac09f32bd8f3c90d7814c63a (patch) | |
tree | f635127dbe056a1d4879afb15df224db91572f7b /nixos | |
parent | 7cb492fb1357dde3a5c67f31f8ce6e612fd4301c (diff) |
nixos/trilium-server: noBackup option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/trilium.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/trilium.nix b/nixos/modules/services/web-apps/trilium.nix index b878de023ff58..ae41ba50d2e27 100644 --- a/nixos/modules/services/web-apps/trilium.nix +++ b/nixos/modules/services/web-apps/trilium.nix @@ -9,6 +9,7 @@ let # Disable automatically generating desktop icon noDesktopIcon=true + noBackup=${cfg.noBackup} [Network] # host setting is relevant only for web deployments - set the host on which the server will listen @@ -40,6 +41,14 @@ in ''; }; + noBackup = mkOption { + type = types.bool; + default = false; + description = '' + Disable periodic database backups. + ''; + }; + host = mkOption { type = types.str; default = "127.0.0.1"; |