fluxbox: use mkPackageOption instead of mkOption (#3286)
This commit is contained in:
parent
e7be7c4688
commit
a053da0f22
|
@ -13,12 +13,7 @@ in {
|
||||||
xsession.windowManager.fluxbox = {
|
xsession.windowManager.fluxbox = {
|
||||||
enable = mkEnableOption "Fluxbox window manager";
|
enable = mkEnableOption "Fluxbox window manager";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkPackageOption pkgs "fluxbox" { };
|
||||||
type = types.package;
|
|
||||||
default = pkgs.fluxbox;
|
|
||||||
defaultText = literalExpression "pkgs.fluxbox";
|
|
||||||
description = "Package to use for running Fluxbox WM.";
|
|
||||||
};
|
|
||||||
|
|
||||||
init = mkOption {
|
init = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
|
|
Loading…
Reference in a new issue