nixos/home/gui/home.nix

41 lines
753 B
Nix
Raw Normal View History

2025-01-13 11:52:09 +08:00
{
pkgs,
lib,
config,
...
}:
with lib;
let
2024-06-24 09:56:31 +08:00
catppuccin = config.passthrough.catppuccin.enable;
2025-01-13 11:52:09 +08:00
in
{
config = mkIf config.passthrough.gui {
# cursor theme
2024-06-24 09:56:31 +08:00
home.pointerCursor = {
package = mkDefault pkgs.bibata-cursors;
name = mkDefault "Bibata-Modern-Classic";
size = 24;
2024-06-24 09:56:31 +08:00
x11.enable = true;
gtk.enable = true;
};
2024-01-03 16:38:30 +08:00
# gtk theme
2024-05-13 08:38:38 +08:00
gtk.theme = mkDefault {
package = pkgs.whitesur-gtk-theme;
name = "WhiteSur-Dark";
};
2024-01-03 16:38:30 +08:00
# gtk icons
2024-05-13 08:38:38 +08:00
gtk.iconTheme = mkDefault {
package = pkgs.papirus-icon-theme;
name = "Papirus-Dark";
};
2024-01-07 14:47:25 +08:00
# unify qt theme
2024-04-19 08:15:03 +08:00
qt.platformTheme.name = mkDefault "gtk";
gtk.enable = mkDefault true;
qt.enable = mkDefault true;
};
2024-01-03 15:29:21 +08:00
}