calibre-web added CACHE_DIRECTORY variable
This commit is contained in:
parent
11d97b4be0
commit
fa33f258fc
4 changed files with 34 additions and 7 deletions
|
@ -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
9
services/cryptpad.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
# not finished
|
||||
services.cryptpad= {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
}
|
|
@ -12,6 +12,13 @@
|
|||
settings = {
|
||||
rpc-bind-address = "0.0.0.0";
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
transmission
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue