-
Notifications
You must be signed in to change notification settings - Fork 0
fix: paperclip authenticated mode and required config fields #1345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4e4ca0a
8f6bdf9
ef37b84
0ef7968
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,10 +1,23 @@ | ||||||
| { | ||||||
| "$meta": { | ||||||
| "version": 1, | ||||||
| "updatedAt": "2026-04-04T00:00:00.000Z", | ||||||
|
||||||
| "updatedAt": "2026-04-04T00:00:00.000Z", | |
| "updatedAt": "__UPDATED_AT__", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting logging.mode to file may conflict with the systemd service configuration in home-manager/modules/paperclip/default.nix, which redirects StandardOutput and StandardError to a log file. If the application logs to its own file, it might bypass the systemd log capture or cause duplication. Consider using a mode that logs to stdout (e.g., console) to allow systemd to manage logs centrally via the journal or the configured redirection.
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,7 +10,9 @@ mkdir -p "${INSTANCE_DIR}" | |||||||
| @sed@ \ | ||||||||
| -e "s|__DATABASE_MODE__|@database_mode@|g" \ | ||||||||
| -e "s|__DATABASE_CONNECTION_STRING__|@database_connection_string@|g" \ | ||||||||
| -e "s|__DEPLOYMENT_MODE__|@deployment_mode@|g" \ | ||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add a substitution for the
Suggested change
References
|
||||||||
| -e "s|__HOST__|@host@|g" \ | ||||||||
| -e "s|__ALLOWED_HOSTNAME__|@allowed_hostname@|g" \ | ||||||||
| "$TEMPLATE" >"$CONFIG" | ||||||||
|
Comment on lines
10
to
16
|
||||||||
| chmod 600 "$CONFIG" | ||||||||
|
|
||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
updatedAtfield is hardcoded to a static date. It is better to use a placeholder and populate it dynamically during the hydration process to reflect the actual configuration generation time.