Loading nixos/modules/services/misc/paperless.nix +2 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,7 @@ in ExecStart = "${cfg.package}/bin/celery --app paperless beat --loglevel INFO"; Restart = "on-failure"; LoadCredential = lib.optionalString (cfg.passwordFile != null) "PAPERLESS_ADMIN_PASSWORD:${cfg.passwordFile}"; PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; Loading Loading @@ -407,6 +408,7 @@ in User = cfg.user; ExecStart = "${cfg.package}/bin/paperless-ngx document_consumer"; Restart = "on-failure"; PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; # Allow the consumer to access the private /tmp directory of the server. Loading Loading
nixos/modules/services/misc/paperless.nix +2 −0 Original line number Diff line number Diff line Loading @@ -331,6 +331,7 @@ in ExecStart = "${cfg.package}/bin/celery --app paperless beat --loglevel INFO"; Restart = "on-failure"; LoadCredential = lib.optionalString (cfg.passwordFile != null) "PAPERLESS_ADMIN_PASSWORD:${cfg.passwordFile}"; PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; Loading Loading @@ -407,6 +408,7 @@ in User = cfg.user; ExecStart = "${cfg.package}/bin/paperless-ngx document_consumer"; Restart = "on-failure"; PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; # Allow the consumer to access the private /tmp directory of the server. Loading