calibre-web added CACHE_DIRECTORY variable

This commit is contained in:
Elias Gasparis 2025-05-01 13:22:15 +08:00
parent 11d97b4be0
commit fa33f258fc
4 changed files with 34 additions and 7 deletions

View file

@ -23,4 +23,16 @@
#Using Caddy on VPS. Don't need this.
services.nginx.enable = false;
# CACHE_DIRECTORY environment variable
# explanation: https://github.com/janeczku/calibre-web/issues/3343
# https://github.com/janeczku/calibre-web/issues/3278
systemd.services.calibre-web = {
environment = {
CACHE_DIR = "/var/cache/calibre-web";
};
serviceConfig = {
CacheDirectory = "calibre-web";
};
};
}

9
services/cryptpad.nix Normal file
View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
# not finished
services.cryptpad= {
enable = true;
};
}

View file

@ -12,6 +12,13 @@
settings = {
rpc-bind-address = "0.0.0.0";
};
environment.systemPackages = [
transmission
];
};
}