Skip to content

nixos/(pretalx): Add mail password from file#485942

Closed
Haennetz wants to merge 1 commit intoNixOS:masterfrom
Haennetz:add_secrets_by_file
Closed

nixos/(pretalx): Add mail password from file#485942
Haennetz wants to merge 1 commit intoNixOS:masterfrom
Haennetz:add_secrets_by_file

Conversation

@Haennetz
Copy link
Contributor

@Haennetz Haennetz commented Feb 1, 2026

The mail password shouldn't be added as plain text because then it will be stored in the nix store. With the file option we allow to use something like sops.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci bot requested a review from mweinelt February 1, 2026 14:04
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Feb 1, 2026
The mail password shouldn't be added as plain text because then it will
be stored in the nix store. With the file option we allow to use
something like sops
@Haennetz Haennetz force-pushed the add_secrets_by_file branch from 7656441 to 57de0b2 Compare February 1, 2026 14:18
@mweinelt
Copy link
Member

mweinelt commented Feb 1, 2026

This is already possible to configure safely via services.pretix.environmentFile.

@Haennetz
Copy link
Contributor Author

Haennetz commented Feb 1, 2026

This is already possible to configure safely via services.pretix.environmentFile.

Didn’t thought about that option thanks

@Haennetz Haennetz closed this Feb 1, 2026
@mweinelt
Copy link
Member

mweinelt commented Feb 4, 2026

Sorry, this was for pretix, but a similar approach is coming to pretalx in #486936.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants