more adjustments

This commit is contained in:
Noah Masur
2025-02-15 20:26:14 -05:00
parent 2425c76a84
commit 617fc6cce2
36 changed files with 288 additions and 291 deletions

View File

@ -13,7 +13,7 @@
let
inherit (config.nmasur.settings) hostnames;
inherit (config.nmasur.settings) hostnames username;
cfg = config.nmasur.presets.services.calibre-web;
libraryPath = "/data/books";
in
@ -58,7 +58,7 @@ in
services.cloudflare-dyndns.domains = [ hostnames.books ];
# Grant user access to Calibre directories
users.users.${config.user}.extraGroups = [ "calibre-web" ];
users.users.${username}.extraGroups = [ "calibre-web" ];
# Run a backup on a schedule
systemd.timers.calibre-backup = {