{ config, lib, ... }: let inherit (lib) mkOption mkEnableOption; inherit (lib.types) types; in { options.fediversity.pixelfed = { enable = mkEnableOption "Enable a Pixelfed server on the machine"; domain = mkOption { type = types.str; description = "Internal option — change at your own risk"; default = "pixelfed.${config.fediversity.domain}"; }; }; }