From bdc2d0a30dfa43fbb359b1bf8d3a61c68ad46079 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 27 May 2023 09:56:50 -0700 Subject: [PATCH] Added customized gitea logos --- hosts/Alaska/modules/forgejo.nix | 13 +++ rsrcs/giteaCustomDir/public/img/favicon.svg | 88 +++++++++++++++++++++ rsrcs/giteaCustomDir/public/img/logo.svg | 88 +++++++++++++++++++++ 3 files changed, 189 insertions(+) create mode 100644 rsrcs/giteaCustomDir/public/img/favicon.svg create mode 100644 rsrcs/giteaCustomDir/public/img/logo.svg diff --git a/hosts/Alaska/modules/forgejo.nix b/hosts/Alaska/modules/forgejo.nix index bc62072..6cdae1d 100644 --- a/hosts/Alaska/modules/forgejo.nix +++ b/hosts/Alaska/modules/forgejo.nix @@ -1,10 +1,16 @@ { config, lib, pkgs, ... }: { + home.file."/Aurora/Forgejo/custom" = { + source = ../../../rscs/giteaCustomDir; + recursive = true; + }; + services.gitea = { enable = true; package = pkgs.forgejo; stateDir = "/Aurora/Forgejo"; + appName = "Nickiel's Repos"; settings = { @@ -20,6 +26,13 @@ DOMAIN = "git.nickiel.net"; LANDING_PAGE = "/explore/repos"; }; + + mailer = { + ENABLED = true; + MAILER_TYPE = "sendmail"; + FROM = "noreply@nickiel.net"; + SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail"; + }; }; }; } diff --git a/rsrcs/giteaCustomDir/public/img/favicon.svg b/rsrcs/giteaCustomDir/public/img/favicon.svg new file mode 100644 index 0000000..0b283f5 --- /dev/null +++ b/rsrcs/giteaCustomDir/public/img/favicon.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + + diff --git a/rsrcs/giteaCustomDir/public/img/logo.svg b/rsrcs/giteaCustomDir/public/img/logo.svg new file mode 100644 index 0000000..aeece81 --- /dev/null +++ b/rsrcs/giteaCustomDir/public/img/logo.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + +