mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-08 00:51:23 +00:00
13 lines
255 B
Nix
13 lines
255 B
Nix
{ pkgs, lib, config, ... }:
|
|
let
|
|
cfg = config.services.userdata;
|
|
in
|
|
{
|
|
services.mastodon = {
|
|
enable = cfg.mastodon.enable;
|
|
localDomain = "mastodon.${cfg.domain}";
|
|
configureNginx = true;
|
|
smtp.fromAddress = "noreply@${cfg.domain}";
|
|
};
|
|
}
|