mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nixos/bluesky-pds: require invites by default
This commit is contained in:
parent
599c235eb7
commit
0d3753698f
1 changed files with 7 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ let
|
|||
${getExe pkgs.bluesky-pdsadmin} "$@"
|
||||
'';
|
||||
in
|
||||
# All defaults are from https://github.com/bluesky-social/pds/blob/9a72155fee4e7e1de0e0add5454c5571b89e05e0/installer.sh
|
||||
# All defaults are from https://github.com/bluesky-social/pds/blob/0b5cd1179f4fcf2643e5ead5cf4ac56c5cdeda3b/installer.sh
|
||||
{
|
||||
imports = [
|
||||
(lib.mkRenamedOptionModule [ "services" "pds" "enable" ] [ "services" "bluesky-pds" "enable" ])
|
||||
|
|
@ -137,6 +137,12 @@ in
|
|||
default = "true";
|
||||
description = "Enable rate limiting";
|
||||
};
|
||||
|
||||
PDS_INVITE_REQUIRED = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = "true";
|
||||
description = "Require invite code for registration";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue