fluxbox: use mkPackageOption instead of mkOption (#3286)

This commit is contained in:
Anderson Torres 2022-09-30 13:54:55 -03:00 committed by GitHub
parent e7be7c4688
commit a053da0f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,12 +13,7 @@ in {
xsession.windowManager.fluxbox = {
enable = mkEnableOption "Fluxbox window manager";
package = mkOption {
type = types.package;
default = pkgs.fluxbox;
defaultText = literalExpression "pkgs.fluxbox";
description = "Package to use for running Fluxbox WM.";
};
package = mkPackageOption pkgs "fluxbox" { };
init = mkOption {
type = types.lines;