nixpkgs/home/gtk.nix
Daniel Siepmann 2e89e7f369
Configure GTK
Add new gtk configuration.

Use tmpfiles to provide the generated sources like themes to the system.
Also use for desktop files and remove old no longer needed readme entry.
2022-05-20 15:39:28 +02:00

37 lines
548 B
Nix

{ pkgs }:
{
enable = true;
theme = {
package = pkgs.qogir-theme;
name = "Qogir-Ubuntu-Dark";
};
iconTheme = {
package = pkgs.qogir-icon-theme;
name = "Qogir-ubuntu-dark";
};
cursorTheme = {
package = pkgs.qogir-icon-theme;
name = "Qogir-ubuntu-dark";
size = 16;
};
font = {
package = pkgs.roboto-mono;
name = "Roboto Mono";
size = 14;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = 1;
};
}