11.stylix/stylix/icon.nix
Dennis Lonoshchuk f3c2f5a179
stylix: set GTK icon theme (#603)
Closes: https://github.com/danth/stylix/issues/458
Link: https://github.com/danth/stylix/pull/603

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: Kamron Bhavnagri <kamwithk@tuta.io>
2024-11-30 19:51:29 +01:00

26 lines
758 B
Nix

{ lib, ... }:
{
options.stylix.iconTheme = {
enable = lib.mkOption {
description = "enable/disable icon theming.";
type = lib.types.bool;
default = false;
};
package = lib.mkOption {
description = "Package providing the icon theme.";
type = lib.types.nullOr lib.types.package;
default = null;
};
light = lib.mkOption {
description = "Light icon theme name.";
type = lib.types.nullOr lib.types.str;
default = null;
};
dark = lib.mkOption {
description = "Dark icon theme name.";
type = lib.types.nullOr lib.types.str;
default = null;
};
};
}