dotfiles/nix/modules/xdg.nix
2023-09-08 14:57:19 +02:00

223 lines
5.9 KiB
Nix

{
config,
pkgs,
hostName,
...
}: let
catppuccin = {
kitty = pkgs.fetchFromGitea {
domain = "gitea.catppuccin.com";
owner = "catppuccin";
repo = "kitty";
rev = "4820b3ef3f4968cf3084b2239ce7d1e99ea04dda";
sha256 = "sha256-uZSx+fuzcW//5/FtW98q7G4xRRjJjD5aQMbvJ4cs94U=";
};
bat = pkgs.fetchFromGitea {
domain = "gitea.catppuccin.com";
owner = "catppuccin";
repo = "bat";
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw=";
};
btop = pkgs.fetchFromGitea {
domain = "gitea.catppuccin.com";
owner = "catppuccin";
repo = "btop";
rev = "89ff712eb62747491a76a7902c475007244ff202";
sha256 = "sha256-J3UezOQMDdxpflGax0rGBF/XMiKqdqZXuX4KMVGTxFk=";
};
zathura = pkgs.fetchFromGitea {
domain = "gitea.catppuccin.com";
owner = "catppuccin";
repo = "zathura";
rev = "d85d8750acd0b0247aa10e0653998180391110a4";
sha256 = "sha256-5Vh2bVabuBluVCJm9vfdnjnk32CtsK7wGIWM5+XnacM=";
};
};
in {
configFile."kitty/config.d" = {
source = ./../../.config/kitty/config.d;
};
# set current kitty theme using:
# kitty +kitten themes --reload-in all <theme>
#
# this makes linking the custom dracula to current-theme.conf obsolete
# configFile."kitty/current-theme.conf" = {
configFile."kitty/themes/customDracula.conf" = {
source = ./../../.config/kitty/customDracula.conf;
};
configFile."kitty/themes/diff-frappe.conf" = {
source =
catppuccin.kitty
+ "/themes/diff-frappe.conf";
};
configFile."kitty/themes/diff-latte.conf" = {
source =
catppuccin.kitty
+ "/themes/diff-latte.conf";
};
configFile."kitty/themes/diff-macchiato.conf" = {
source =
catppuccin.kitty
+ "/themes/diff-macchiato.conf";
};
configFile."kitty/themes/diff-mocha.conf" = {
source =
catppuccin.kitty
+ "/themes/diff-mocha.conf";
};
configFile."kitty/themes/frappe.conf" = {
source =
catppuccin.kitty
+ "/themes/frappe.conf";
};
configFile."kitty/themes/latte.conf" = {
source =
catppuccin.kitty
+ "/themes/latte.conf";
};
configFile."kitty/themes/macchiato.conf" = {
source =
catppuccin.kitty
+ "/themes/macchiato.conf";
};
configFile."kitty/themes/mocha.conf" = {
source =
catppuccin.kitty
+ "/themes/mocha.conf";
};
configFile."bat/themes/Catppuccin-latte.tmTheme" = {
source =
catppuccin.bat
+ "/Catppuccin-latte.tmTheme";
};
configFile."bat/themes/Catppuccin-frappe.tmTheme" = {
source =
catppuccin.bat
+ "/Catppuccin-frappe.tmTheme";
};
configFile."bat/themes/Catppuccin-macchiato.tmTheme" = {
source =
catppuccin.bat
+ "/Catppuccin-macchiato.tmTheme";
};
configFile."bat/themes/Catppuccin-mocha.tmTheme" = {
source =
catppuccin.bat
+ "/Catppuccin-mocha.tmTheme";
};
configFile."btop/themes/catppuccin_mocha.theme" = {
source =
catppuccin.btop
+ "/themes/catppuccin_mocha.theme";
};
configFile."aerc/aerc.conf" = {
# source = ./../../.config/aerc/aerc.conf;
source = ./../../.config/aerc/aerc-${hostName}.conf;
};
configFile."aerc/binds.conf" = {
source = ./../../.config/aerc/binds.conf;
};
configFile."mako/dracula-mako" = {
source = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "mako";
rev = "80caf30d59f8017e306519ca33609be75a86ebaf";
sha256 = "sha256-qoQODX2435xfH9G6xOVFXitKy/75MaDU+tiQ/EsjRV4=";
};
};
configFile."sheldon/plugins.toml" = {
source = ./../../.config/sheldon/plugins.toml;
};
configFile."starship.toml" = {
source = ./../../.config/starship.toml;
};
configFile."zathura/zathurarc" = {
source = ./../../.config/zathura/zathurarc;
};
configFile."zathura/dracula-zathura" = {
source = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "zathura";
rev = "b597b1537aa125e8829bef2cc57a0b0c6a6b35a1";
sha256 = "sha256-g6vxwPw0Q9QFJBc3d4R3ZsHnnEvU5o1f4DSuyLeN5XQ=";
};
};
configFile."zathura/catppuccin/latte" = {
source =
catppuccin.zathura
+ "/src/catppuccin-latte";
};
configFile."zathura/catppuccin/frappe" = {
source =
catppuccin.zathura
+ "/src/catppuccin-frappe";
};
configFile."zathura/catppuccin/macchiato" = {
source =
catppuccin.zathura
+ "/src/catppuccin-macchiato";
};
configFile."zathura/catppuccin/mocha" = {
source =
catppuccin.zathura
+ "/src/catppuccin-mocha";
};
configFile."qutebrowser/dracula" = {
source = pkgs.fetchFromGitHub {
owner = "dracula";
repo = "qutebrowser-dracula-theme";
rev = "ba5bd6589c4bb8ab35aaaaf7111906732f9764ef";
sha256 = "sha256-av6laQezAOrBt6P+F2eHWFqAnTEENfDrvzEfhn2dDNY=";
};
};
configFile."qutebrowser/stylesheets" = {
source = ./../../.config/qutebrowser/stylesheets;
};
configFile."qutebrowser-work/config/stylesheets" = {
source = ./../../.config/qutebrowser/stylesheets;
};
configFile."ccache/ccache.conf" = {
source = ./../../.config/ccache/ccache.conf;
};
configFile."go/env" = {
source = ./../../.config/go/env;
};
configFile."glow/glow.yml" = {
source = ./../../.config/glow/glow.yml;
};
configFile."gtk-4.0/settings.ini" = {
source = ./../../.config/gtk-4.0/settings.ini;
};
configFile."gtk-4.0/gtk.css" = {
source = ./../../.config/gtk-4.0/gtk.css;
};
configFile."environment.d/sway-session.conf" = {
source = ./../../.config/environment.d/sway-session.conf;
};
configFile."environment.d/java.conf" = {
source = ./../../.config/environment.d/java.conf;
};
configFile."environment.d/mozilla.conf" = {
source = ./../../.config/environment.d/mozilla.conf;
};
configFile."environment.d/qt.conf" = {
source = ./../../.config/environment.d/qt.conf;
};
}