Skip to content

Commit

Permalink
Simplify and comment
Browse files Browse the repository at this point in the history
Co-authored-by: Atemu <[email protected]>
  • Loading branch information
gefla and Atemu authored Jan 18, 2025
1 parent 519a7a7 commit 0f73b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/paperless.nix
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,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 = lib.mkIf cfg.database.createLocally true;
PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs
};
environment = env;

Expand Down

0 comments on commit 0f73b16

Please sign in to comment.