modules/theme: enable gtk theming if global theming enabled by default
This commit is contained in:
parent
7e5a0442ec
commit
44f2dd55d5
1 changed files with 7 additions and 3 deletions
|
@ -6,13 +6,17 @@
|
|||
...
|
||||
}: let
|
||||
inherit (builtins) pathExists;
|
||||
inherit (lib) mkIf mkOption mkEnableOption;
|
||||
inherit (lib.types) package str;
|
||||
inherit (lib) mkIf mkOption;
|
||||
inherit (lib.types) bool package str;
|
||||
|
||||
cfg = config.theme.gtk;
|
||||
in {
|
||||
options.theme.gtk = {
|
||||
enable = mkEnableOption "enable GTK theming options";
|
||||
enable = mkOption {
|
||||
type = bool;
|
||||
description = "enable GTK theming options";
|
||||
default = config.theme.enable;
|
||||
};
|
||||
theme = {
|
||||
name = mkOption {
|
||||
type = str;
|
||||
|
|
Loading…
Reference in a new issue