beatufitull front end for ozone modration ,, wit catpucoin and ebergarden !
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add stuff to nix module

+14
+14
nix/module.nix
··· 62 62 description = "Authentication method to use"; 63 63 }; 64 64 65 + enableAdsDefault = mkOption { 66 + type = types.bool; 67 + default = true; 68 + description = "Whether to enable ads by default for new sessions"; 69 + }; 70 + 71 + allowSelfLogin = mkOption { 72 + type = types.bool; 73 + default = false; 74 + description = "Whether to allow the labeler account itself to log in to the frontend"; 75 + }; 65 76 }; 66 77 67 78 config = mkIf cfg.enable { ··· 75 86 PUBLIC_LABELER_URL = cfg.labelerUrl; 76 87 PUBLIC_PDS_URL = cfg.pdsUrl; 77 88 PUBLIC_AUTHENTICATION = cfg.authentication; 89 + PUBLIC_ENABLE_ADS_DEFAULT = toString cfg.enableAdsDefault; 90 + PUBLIC_ALLOW_SELF_LOGIN = toString cfg.allowSelfLogin; 91 + 78 92 PORT = toString cfg.port; 79 93 HOST = cfg.host; 80 94 NODE_ENV = "production";