services.mastodon.user
User under which mastodon runs. If it is set to "mastodon",
that user will be created, otherwise it should be set to the
name of a user created elsewhere.
In both cases, the mastodon package will be added to the user's package set
and a tootctl wrapper to system packages that switches to the configured account
and load the right environment.
- Type
string- Default
"mastodon"- Declared
- <nixpkgs/nixos/modules/services/web-apps/mastodon.nix>