containers/citrine: catppuccin theming

This commit is contained in:
Cilly Leang 2026-03-16 02:32:09 +11:00
parent d577030892
commit 15c4e4fc51
Signed by: cilly
GPG key ID: 6500251E087653C9
7 changed files with 163 additions and 38 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, lib, ... }: {
system.stateVersion = "25.11";
networking.firewall.allowedTCPPorts = [ 3000 ];
networking.firewall.allowedUDPPorts = [ 3000 ];
@ -17,10 +17,25 @@
ROOT_URL = "https://garden.lava.moe/";
HTTP_PORT = 3000;
};
ui = lib.mkForce {
DEFAULT_THEME = "catppuccin-maroon-auto";
THEMES = lib.strings.concatMapStringsSep "," (x: "${x}-auto") [
"catppuccin-pink"
"catppuccin-maroon"
"catppuccin-flamingo"
"catppuccin-rosewater"
"forgejo"
"gitea"
];
};
api.ENABLE_SWAGGER = false;
other.SHOW_FOOTER_TEMPLATE_LOAD_TIME = false;
service.DISABLE_REGISTRATION = true;
};
stateDir = "/persist/forgejo";
};
catppuccin.forgejo.enable = true;
environment.systemPackages = [ config.services.forgejo.package ];
}