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

Configure Feed

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

fix module aagain ,, tank u isbel

+6 -8
+6 -8
nix/module.nix
··· 44 44 45 45 options = { 46 46 PORT = mkOption { 47 - type = types.str; # doesnt work with systemd ? 48 - default = "3000"; 47 + type = types.port; 48 + default = 3000; 49 49 description = "Port to run the frontend on"; 50 50 }; 51 51 ··· 105 105 after = [ "network.target" ]; 106 106 wantedBy = [ "multi-user.target" ]; 107 107 108 - environment = { 109 - NODE_ENV = "production"; 110 - TZ = "Etc/UTC"; 111 - } 112 - // cfg.settings; 108 + serviceConfig = { 109 + Environment = lib.mapAttrsToList (k: v: "${k}=${if builtins.isInt v then toString v else v}") ( 110 + lib.filterAttrs (_: v: v != null) cfg.settings 111 + ); 113 112 114 - serviceConfig = { 115 113 ExecStart = getExe cfg.package; 116 114 Restart = "on-failure"; 117 115 RestartSec = 5;