tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nixos/calibre-web: fix malformed environment variable
stepbrobd.com
6 months ago
6483a3e0
b772b816
verified
This commit was signed with the committer's
known signature
.
stepbrobd.com
SSH Key Fingerprint:
SHA256:YqPlcyQcfJcVfN3mdgkd9A89Jk+8de9VmtR3Zu6u1yc=
+3
-1
1 changed file
expand all
collapse all
unified
split
nixos
modules
services
web-apps
calibre-web.nix
+3
-1
nixos/modules/services/web-apps/calibre-web.nix
···
160
160
after = [ "network.target" ];
161
161
wantedBy = [ "multi-user.target" ];
162
162
163
163
+
# fix book cover cache directory defaults to a path under /nix/store/
164
164
+
environment.CACHE_DIR = "/var/cache/calibre-web";
165
165
+
163
166
serviceConfig = {
164
167
Type = "simple";
165
168
User = cfg.user;
···
181
184
182
185
CacheDirectory = "calibre-web";
183
186
CacheDirectoryMode = "0750";
184
184
-
environment.CACHE_DIR = "/var/cache/calibre-web";
185
187
}
186
188
// lib.optionalAttrs (!(lib.hasPrefix "/" cfg.dataDir)) {
187
189
StateDirectory = cfg.dataDir;