Add lemmy

This commit is contained in:
muon 2025-05-17 10:54:00 +00:00
parent 588fed0ea6
commit ed26516625
6 changed files with 121 additions and 23 deletions

View file

@ -1,18 +1,32 @@
{ pkgs, lib, config, ... }: {
mods.server.nginx.ports = {
photos = 3001;
homebox = 3002;
# immich-machine-learning = 3003;
share = 3004;
vault = 3005;
git = 3006;
cal = 3007;
chat = 3008;
# dash = 3009;
ntfy = 3010;
options.mods.server = with lib; {
local.ports = mkOption {
type = types.attrsOf (types.ints.u16);
default = { };
};
};
config = {
mods.server.nginx.ports = {
photos = 3001;
homebox = 3002;
# immich-machine-learning = 3003;
share = 3004;
vault = 3005;
git = 3006;
cal = 3007;
chat = 3008;
# dash = 3009;
ntfy = 3010;
lemmy = 3011;
search = 8081;
videos = 8082;
reddit = 8083;
search = 8081;
videos = 8082;
reddit = 8083;
};
mods.server.local.ports = {
# grav = 5001
lemmy-api = 5002;
pict-rs = 5003;
};
};
}