Add gitea-github-theme
This commit is contained in:
parent
12366e5e1c
commit
a181fc8a5e
@ -19,6 +19,10 @@
|
|||||||
url = "github:rafaelmardojai/firefox-gnome-theme";
|
url = "github:rafaelmardojai/firefox-gnome-theme";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
gitea-github-theme = {
|
||||||
|
url = "git+ssh://git@git.vimium.com/jordan/gitea-github-theme.git?ref=main";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
nixos-mailserver = {
|
nixos-mailserver = {
|
||||||
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11";
|
url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-23.11";
|
||||||
|
@ -39,6 +39,13 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.rules = [
|
||||||
|
"d '${config.services.gitea.customDir}/public/assets/css' 0750 ${config.services.gitea.user} ${config.services.gitea.group} - -"
|
||||||
|
"L+ '${config.services.gitea.customDir}/public/assets/css/theme-github.css' - - - - ${inputs.gitea-github-theme}/theme-github.css"
|
||||||
|
"L+ '${config.services.gitea.customDir}/public/assets/css/theme-github-auto.css' - - - - ${inputs.gitea-github-theme}/theme-github-auto.css"
|
||||||
|
"L+ '${config.services.gitea.customDir}/public/assets/css/theme-github-dark.css' - - - - ${inputs.gitea-github-theme}/theme-github-dark.css"
|
||||||
|
];
|
||||||
|
|
||||||
services.gitea = rec {
|
services.gitea = rec {
|
||||||
package = pkgs.unstable.gitea;
|
package = pkgs.unstable.gitea;
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -69,7 +76,7 @@ in {
|
|||||||
session.COOKIE_SECURE = true;
|
session.COOKIE_SECURE = true;
|
||||||
log.ROOT_PATH = "${stateDir}/log";
|
log.ROOT_PATH = "${stateDir}/log";
|
||||||
ui = {
|
ui = {
|
||||||
THEMES = "gitea,arc-green,github-dark,bthree-dark";
|
THEMES = "gitea,arc-green,github,github-auto,github-dark";
|
||||||
DEFAULT_THEME = "github-dark";
|
DEFAULT_THEME = "github-dark";
|
||||||
};
|
};
|
||||||
actions.ENABLED = true;
|
actions.ENABLED = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user