diff --git a/hosts/kommode/services/gitea/customization/default.nix b/hosts/kommode/services/gitea/customization/default.nix index fa19d2e6..7752d75f 100644 --- a/hosts/kommode/services/gitea/customization/default.nix +++ b/hosts/kommode/services/gitea/customization/default.nix @@ -10,6 +10,15 @@ in catppuccin = pkgs.gitea-theme-catppuccin; }; + services.gitea.settings.ui = { + CUSTOM_EMOJIS = lib.concatStringsSep "," [ + "bruh" + "grr" + "huh" + "ohyeah" + ]; + }; + systemd.services.gitea-customization = lib.mkIf cfg.enable { description = "Install extra customization in gitea's CUSTOM_DIR"; wantedBy = [ "gitea.service" ]; @@ -57,6 +66,11 @@ in install -Dm444 ${extraLinksFooter} ${cfg.customDir}/templates/custom/extra_links_footer.tmpl install -Dm444 ${project-labels} ${cfg.customDir}/options/label/project-labels.yaml + install -Dm644 ${./emotes/bruh.png} ${cfg.customDir}/public/assets/img/emoji/bruh.png + install -Dm644 ${./emotes/huh.gif} ${cfg.customDir}/public/assets/img/emoji/huh.png + install -Dm644 ${./emotes/grr.png} ${cfg.customDir}/public/assets/img/emoji/grr.png + install -Dm644 ${./emotes/okiedokie.jpg} ${cfg.customDir}/public/assets/img/emoji/okiedokie.png + "${lib.getExe pkgs.rsync}" -a "${customTemplates}/" ${cfg.customDir}/templates/ ''; }; diff --git a/hosts/kommode/services/gitea/customization/emotes/bruh.png b/hosts/kommode/services/gitea/customization/emotes/bruh.png new file mode 100644 index 00000000..7a780c6b Binary files /dev/null and b/hosts/kommode/services/gitea/customization/emotes/bruh.png differ diff --git a/hosts/kommode/services/gitea/customization/emotes/grr.png b/hosts/kommode/services/gitea/customization/emotes/grr.png new file mode 100644 index 00000000..a2e169ac Binary files /dev/null and b/hosts/kommode/services/gitea/customization/emotes/grr.png differ diff --git a/hosts/kommode/services/gitea/customization/emotes/huh.gif b/hosts/kommode/services/gitea/customization/emotes/huh.gif new file mode 100644 index 00000000..8f604165 Binary files /dev/null and b/hosts/kommode/services/gitea/customization/emotes/huh.gif differ diff --git a/hosts/kommode/services/gitea/customization/emotes/okiedokie.jpg b/hosts/kommode/services/gitea/customization/emotes/okiedokie.jpg new file mode 100644 index 00000000..5b6a1d21 Binary files /dev/null and b/hosts/kommode/services/gitea/customization/emotes/okiedokie.jpg differ diff --git a/hosts/kommode/services/gitea/default.nix b/hosts/kommode/services/gitea/default.nix index 5f5fdf82..08370c22 100644 --- a/hosts/kommode/services/gitea/default.nix +++ b/hosts/kommode/services/gitea/default.nix @@ -150,6 +150,10 @@ in { "skull" "upside_down_face" "shrug" + "huh" + "bruh" + "okiedokie" + "grr" ]; }; "ui.meta" = {