mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-08 17:11:02 +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}";
|
||
|
};
|
||
|
}
|