forked from Fediversity/Fediversity
19 lines
396 B
Nix
19 lines
396 B
Nix
|
{ 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}";
|
||
|
};
|
||
|
};
|
||
|
}
|