35 lines
661 B
Nix
35 lines
661 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
options = {
|
|
# Enable the GTK theme
|
|
enableGTK = lib.mkEnableOption "enableGTK";
|
|
};
|
|
|
|
config = {
|
|
home.pointerCursor = {
|
|
name = "Dracula";
|
|
package = pkgs.dracula-theme;
|
|
gtk.enable = config.enableGTK;
|
|
};
|
|
gtk = {
|
|
enable = config.enableGTK;
|
|
theme = {
|
|
name = "Dracula";
|
|
package = pkgs.dracula-theme;
|
|
};
|
|
gtk3.extraConfig = {
|
|
gtk-application-prefer-dark-theme = 1;
|
|
gtk-cursor-theme-size = 8;
|
|
};
|
|
gtk4.extraConfig = {
|
|
gtk-application-prefer-dark-theme = 1;
|
|
gtk-cursor-theme-size = 8;
|
|
};
|
|
};
|
|
};
|
|
}
|