nixos/home/gui/home.nix

34 lines
693 B
Nix
Raw Normal View History

2024-01-03 15:29:21 +08:00
{ pkgs
, lib
, config
, ... }: with lib; {
imports = [ ./catppuccin/home.nix ];
2024-01-03 16:38:30 +08:00
config = mkIf config.passthrough.gui {
# cursor theme
home.pointerCursor = {
package = mkDefault pkgs.bibata-cursors;
name = mkDefault "Bibata-Modern-Classic";
size = 24;
};
2024-01-03 16:38:30 +08:00
# gtk theme
gtk.theme = {
package = mkDefault pkgs.whitesur-gtk-theme;
name = mkDefault "WhiteSur-Dark";
};
2024-01-03 16:38:30 +08:00
# gtk icons
gtk.iconTheme = {
package = mkDefault pkgs.papirus-icon-theme;
name = mkDefault "Papirus-Dark";
};
2024-01-07 14:47:25 +08:00
# unify qt theme
qt.platformTheme = mkDefault "gtk";
gtk.enable = mkDefault true;
qt.enable = mkDefault true;
};
2024-01-03 15:29:21 +08:00
}