Users of the NixOS module for Mastodon, I want to change the options interface to make it more similar to the official way of configuring Mastodon: https://github.com/NixOS/nixpkgs/pull/424594

What do you think?

#NixOS #Mastodon #mastoAdmin

nixos/mastodon: introduce settings and secrets by erictapen · Pull Request #424594 · NixOS/nixpkgs

The Mastodon module provides an extensive abstraction over the Mastodon configuration interface. This makes it harder for people to migrate their Mastodon instance to NixOS, as basically for each s...

GitHub

@erictapen I support this.

Does this mean that chaos.social is running on NixOS?

@jay Nope, I also doubt that an instance this big would currently benefit from the module.

@jay I don't think chaos.social runs on NixOS, but that'd be a question for @ordnung.

@erictapen

@erictapen
I can use any configuration method. But most of the changes can be made through extraConfig to. The current settings cover many customization variants.
@Lafiel The idea is basically to combine the flexibility of extraConfig with the strictness of the current options, when needed.
Can you elaborate on the customisation variants? Anything that would get harder to achieve with the proposal?
@erictapen
For example, hosting a service for sending emails, a database, and a search engine on different servers. But to place it in S3 storage will have to use extraConfig (But nginx works more efficiently in this comparison).
Probably nothing will interfere with this proposal :).
@Lafiel Yeah sounds like you wouldn't be affected by the change then, besides of having to rename some options.