alqueva/hosts/python/theme.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{pkgs, ...}: let
2024-12-10 15:12:00 +00:00
themes = {
2024-12-13 20:44:36 +00:00
gtk-theme = pkgs.nightfox-gtk-theme.override {
colorVariants = ["dark"];
tweakVariants = ["carbon"];
sizeVariants = ["compact"];
themeVariants = ["all"];
};
icon-theme = pkgs.colloid-icon-theme;
2024-12-10 15:12:00 +00:00
cursor-theme = pkgs.simp1e-cursors;
};
in {
alqueva.system.dconf = {
2024-12-16 21:10:12 +00:00
enable = true;
luminosity = "dark";
theme = "Nightfox-Purple-Dark-Compact-Carbon";
icon.theme = "Colloid-Dark";
cursor = {
size = 24;
theme = "Simp1e-Adw-Dark";
};
2024-11-02 17:48:54 +00:00
};
qt = {
enable = true;
2024-12-13 20:44:36 +00:00
platformTheme = "gnome";
style = "adwaita-dark";
2024-11-02 17:48:54 +00:00
};
2024-12-10 15:12:00 +00:00
environment.systemPackages = builtins.attrValues themes;
systemd.user.tmpfiles.rules = [
2024-12-13 20:44:36 +00:00
"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"
2024-11-02 17:48:54 +00:00
];
}