nixos-config/users/rouven/modules/theme/default.nix

40 lines
1 KiB
Nix
Raw Normal View History

2023-04-06 22:31:45 +02:00
{ pkgs, nix-colors, ... }:
2023-01-22 23:00:16 +01:00
{
2023-06-04 12:22:09 +02:00
2023-06-05 12:31:07 +02:00
home.packages = with pkgs; [ libsForQt5.qtstyleplugin-kvantum ];
2023-04-06 22:31:45 +02:00
colorScheme = nix-colors.colorSchemes.dracula;
2023-01-22 23:00:16 +01:00
# theme hardcoded to dracula, too lazy to make all this base16
2023-10-26 12:12:45 +02:00
systemd.user.sessionVariables.GTK_THEME = "Dracula";
2023-06-04 12:22:09 +02:00
qt = {
enable = true;
2023-11-20 22:47:07 +01:00
platformTheme = "gtk";
2023-06-04 12:22:09 +02:00
style = {
name = "Dracula";
package = pkgs.dracula-theme;
};
};
2023-01-22 23:00:16 +01:00
gtk = {
enable = true;
theme = {
name = "Dracula";
package = pkgs.dracula-theme;
};
2023-01-26 10:38:58 +01:00
iconTheme = {
name = "Dracula";
2023-05-14 22:04:06 +02:00
package = pkgs.dracula-icon-theme;
2023-01-26 10:38:58 +01:00
};
2023-01-22 23:00:16 +01:00
};
2023-01-28 22:28:56 +01:00
home.pointerCursor = {
gtk.enable = true;
name = "Dracula-cursors";
package = pkgs.dracula-theme;
size = 16;
};
2023-06-05 12:31:07 +02:00
xdg.configFile = {
"Kvantum/Dracula/Dracula.kvconfig".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula/Dracula.kvconfig";
"Kvantum/Dracula/Dracula.svg".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula/Dracula.svg";
"Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Dracula";
};
2023-01-22 23:00:16 +01:00
}