diff --git a/modules/services/calibre.nix b/modules/services/calibre.nix index 4d5dbf9..bf7009d 100644 --- a/modules/services/calibre.nix +++ b/modules/services/calibre.nix @@ -2,7 +2,7 @@ let - libraryPath = "${config.homePath}/media/books"; + libraryPath = "/var/lib/calibre-server"; in { @@ -23,19 +23,6 @@ in { }; }; - home-manager.users.${config.user}.home.activation = { - - # Always create library directory if it doesn't exist - calibreLibrary = - config.home-manager.users.${config.user}.lib.dag.entryAfter - [ "writeBoundary" ] '' - if [ ! -d "${libraryPath}" ]; then - $DRY_RUN_CMD mkdir --parents $VERBOSE_ARG ${libraryPath} - fi - ''; - - }; - }; }