77 lines
1.8 KiB
Nix
77 lines
1.8 KiB
Nix
|
|
{
|
||
|
|
flake.modules.homeManager.styling =
|
||
|
|
{
|
||
|
|
config,
|
||
|
|
pkgs,
|
||
|
|
...
|
||
|
|
}:
|
||
|
|
{
|
||
|
|
home = {
|
||
|
|
pointerCursor = {
|
||
|
|
name = "catppuccin-mocha-dark-cursors";
|
||
|
|
package = pkgs.catppuccin-cursors.mochaDark;
|
||
|
|
size = 16;
|
||
|
|
x11.enable = true;
|
||
|
|
gtk.enable = true;
|
||
|
|
};
|
||
|
|
packages = with pkgs; [
|
||
|
|
nerd-fonts.jetbrains-mono
|
||
|
|
noto-fonts
|
||
|
|
noto-fonts-cjk-sans
|
||
|
|
noto-fonts-color-emoji
|
||
|
|
];
|
||
|
|
};
|
||
|
|
|
||
|
|
fonts.fontconfig = {
|
||
|
|
enable = true;
|
||
|
|
defaultFonts = {
|
||
|
|
sansSerif = [ "Noto Sans" ];
|
||
|
|
monospace = [ "JetBrainsMono Nerd Font" ];
|
||
|
|
emoji = [ "Noto Color Emoji" ];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
gtk = {
|
||
|
|
enable = true;
|
||
|
|
colorScheme = "dark";
|
||
|
|
iconTheme = {
|
||
|
|
name = "MoreWaita";
|
||
|
|
package = pkgs.morewaita-icon-theme;
|
||
|
|
};
|
||
|
|
theme = {
|
||
|
|
name = "adw-gtk3-dark";
|
||
|
|
package = pkgs.adw-gtk3;
|
||
|
|
};
|
||
|
|
gtk4.theme = config.gtk.theme;
|
||
|
|
};
|
||
|
|
|
||
|
|
qt =
|
||
|
|
let
|
||
|
|
qt_settings = ver: {
|
||
|
|
Appearance = {
|
||
|
|
color_scheme_path = "${config.xdg.configHome}/${ver}/colors/noctalia.conf";
|
||
|
|
custom_palette = true;
|
||
|
|
icon_theme = "MoreWaita";
|
||
|
|
standard_dialogs = "xdgdesktopportal";
|
||
|
|
style = "Breeze";
|
||
|
|
};
|
||
|
|
Fonts = {
|
||
|
|
fixed = "\"JetBrainsMono Nerd Font,12\"";
|
||
|
|
general = "\"Noto Sans,12\"";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
in
|
||
|
|
{
|
||
|
|
enable = true;
|
||
|
|
platformTheme.name = "qtct";
|
||
|
|
style.name = "breeze";
|
||
|
|
qt5ctSettings = qt_settings "qt5ct";
|
||
|
|
qt6ctSettings = qt_settings "qt6ct";
|
||
|
|
};
|
||
|
|
|
||
|
|
home.sessionVariables = {
|
||
|
|
QS_ICON_THEME = "MoreWaita";
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|