mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +00:00
![Greg Burd](/assets/img/avatar_default.png)
Many thangs to the hard work and generous availability of: git@github.com:Misterio77/nix-config.git
30 lines
643 B
Nix
30 lines
643 B
Nix
{ config, pkgs, inputs, ... }:
|
|
|
|
let
|
|
inherit (inputs.nix-colors.lib-contrib { inherit pkgs; }) gtkThemeFromScheme;
|
|
in
|
|
rec {
|
|
gtk = {
|
|
enable = true;
|
|
font = {
|
|
name = config.fontProfiles.regular.family;
|
|
size = 12;
|
|
};
|
|
theme = {
|
|
name = "${config.colorscheme.slug}";
|
|
package = gtkThemeFromScheme { scheme = config.colorscheme; };
|
|
};
|
|
iconTheme = {
|
|
name = "Papirus";
|
|
package = pkgs.papirus-icon-theme;
|
|
};
|
|
};
|
|
|
|
services.xsettingsd = {
|
|
enable = true;
|
|
settings = {
|
|
"Net/ThemeName" = "${gtk.theme.name}";
|
|
"Net/IconThemeName" = "${gtk.iconTheme.name}";
|
|
};
|
|
};
|
|
}
|