gtk: make gtk.gtk2 and gtk.gtk3 not submodules
(cherry picked from commit 370a84192e
)
This commit is contained in:
parent
5b66b89d6e
commit
be7017b9c8
|
@ -100,11 +100,7 @@ in
|
||||||
description = "The GTK+2/3 theme to use.";
|
description = "The GTK+2/3 theme to use.";
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk2 = mkOption {
|
gtk2 = {
|
||||||
description = "Options specific to GTK+ 2";
|
|
||||||
default = {};
|
|
||||||
type = types.submodule {
|
|
||||||
options = {
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
@ -115,14 +111,8 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gtk3 = mkOption {
|
gtk3 = {
|
||||||
description = "Options specific to GTK+ 3";
|
|
||||||
default = {};
|
|
||||||
type = types.submodule {
|
|
||||||
options = {
|
|
||||||
extraConfig = mkOption {
|
extraConfig = mkOption {
|
||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
default = {};
|
default = {};
|
||||||
|
@ -159,8 +149,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable (
|
config = mkIf cfg.enable (
|
||||||
let
|
let
|
||||||
|
|
Loading…
Reference in a new issue