43 lines
855 B
Nix
43 lines
855 B
Nix
![]() |
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
...
|
||
|
}: let
|
||
|
gtkTheme = pkgs.rose-pine-gtk-theme;
|
||
|
in {
|
||
|
programs.dconf = {
|
||
|
profiles.user.databases = [
|
||
|
{
|
||
|
settings = {
|
||
|
"org/gnome/desktop/interface" = {
|
||
|
color-scheme = "prefer-dark";
|
||
|
cursor-size = lib.gvariant.mkUint32 24;
|
||
|
cursor-theme = "BreezeX-RosePine-Linux";
|
||
|
gtk-theme = "Rose-pine";
|
||
|
icon-theme = "Rose-pine";
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
enable = true;
|
||
|
};
|
||
|
|
||
|
qt = {
|
||
|
enable = true;
|
||
|
style = "kvantum";
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = builtins.attrValues {
|
||
|
inherit
|
||
|
(pkgs)
|
||
|
rose-pine-cursor
|
||
|
rose-pine-icon-theme
|
||
|
;
|
||
|
inherit gtkTheme;
|
||
|
};
|
||
|
|
||
|
systemd.user.tmpfiles.users.artur.rules = [
|
||
|
"L+ %h/.config/gtk-4.0/gtk.css - - - - ${gtkTheme}/share/themes/rose-pine/gtk-4.0/gtk.css"
|
||
|
];
|
||
|
}
|