alqueva/hosts/python/theme.nix
2025-01-21 15:46:30 +00:00

36 lines
1.1 KiB
Nix

{pkgs, ...}: let
themes = {
gtk-theme = pkgs.nightfox-gtk-theme.override {
colorVariants = ["dark"];
tweakVariants = ["carbon"];
sizeVariants = ["compact"];
themeVariants = ["all"];
};
icon-theme = pkgs.colloid-icon-theme;
cursor-theme = pkgs.simp1e-cursors;
};
in {
alqueva.system.dconf = {
enable = true;
luminosity = "dark";
theme = "Nightfox-Purple-Dark-Compact-Carbon";
icon.theme = "Colloid-Dark";
cursor = {
size = 24;
theme = "Simp1e-Adw-Dark";
};
};
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
environment.systemPackages = builtins.attrValues themes;
systemd.user.tmpfiles.rules = [
"L+ %h/.config/gtk-4.0/gtk.css - - - - ${themes.gtk-theme}/share/themes/Nightfox-Purple-Dark-Compact-Carbon/gtk-4.0/gtk.css"
"L+ %h/.config/gtk-4.0/gtk-dark.css - - - - ${themes.gtk-theme}/share/themes/Nightfox-Purple-Dark-Compact-Carbon/gtk-4.0/gtk-dark.css"
"L+ %h/.config/gtk-4.0/assets - - - - ${themes.gtk-theme}/share/themes/Nightfox-Purple-Dark-Compact-Carbon/gtk-4.0/assets"
];
}