56 lines
1.7 KiB
Nix
Raw Normal View History

2020-08-04 01:46:48 +04:00
{ pkgs, config, lib, inputs, ... }:
2019-09-11 17:17:56 +04:00
let
2020-08-10 01:17:22 +04:00
thm = config.lib.base16.theme;
2019-09-11 17:17:56 +04:00
in {
2021-02-07 02:38:11 +03:00
nixpkgs.overlays = [
(self: super: {
2021-06-16 05:30:04 +03:00
generated-gtk-theme =
pkgs.callPackage "${inputs.rycee}/pkgs/materia-theme" {
configBase16 = {
name = "Generated";
kind = "dark";
colors = {
base00.hex.rgb = "${thm.base00-hex}";
base01.hex.rgb = "${thm.base00-hex}";
base02.hex.rgb = "${thm.base00-hex}";
base03.hex.rgb = "${thm.base03-hex}";
base04.hex.rgb = "${thm.base04-hex}";
base05.hex.rgb = "${thm.base05-hex}";
base06.hex.rgb = "${thm.base06-hex}";
base07.hex.rgb = "${thm.base07-hex}";
base08.hex.rgb = "${thm.base08-hex}";
base09.hex.rgb = "${thm.base09-hex}";
base0A.hex.rgb = "${thm.base0A-hex}";
base0B.hex.rgb = "${thm.base0B-hex}";
base0C.hex.rgb = "${thm.base0C-hex}";
base0D.hex.rgb = "${thm.base0D-hex}";
base0E.hex.rgb = "${thm.base0E-hex}";
base0F.hex.rgb = "${thm.base0F-hex}";
};
};
};
2021-02-07 02:38:11 +03:00
})
];
2022-01-29 00:41:41 +03:00
gtk.iconCache.enable = true;
2021-02-07 02:38:11 +03:00
programs.dconf.enable = true;
2022-01-29 00:41:41 +03:00
services.dbus.packages = with pkgs; [ dconf gcr ];
2019-09-11 17:17:56 +04:00
home-manager.users.alukard = {
gtk = {
enable = true;
iconTheme = {
2021-02-07 02:38:11 +03:00
name = "${thm.iconTheme}";
2021-06-16 05:30:04 +03:00
package = thm.iconPackage;
2019-09-11 17:17:56 +04:00
};
theme = {
name = "Generated";
package = pkgs.generated-gtk-theme;
};
2019-09-22 13:35:49 +04:00
font = {
2021-09-16 01:03:52 +03:00
name = "${thm.fonts.main.family}";
size = thm.fontSizes.normal.int;
2021-02-07 02:38:11 +03:00
};
2019-09-11 17:17:56 +04:00
};
2021-06-16 05:30:04 +03:00
home.sessionVariables.GTK_THEME = "Generated";
2019-09-11 17:17:56 +04:00
};
}