mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
treewide: add bool type to enable options, or make use of mkEnableOption
Add missing type information to manually specified enable options or replace them by mkEnableOption where appropriate.
This commit is contained in:
parent
3bbd074217
commit
0412bde942
59 changed files with 71 additions and 175 deletions
|
@ -23,6 +23,7 @@ in
|
|||
options = {
|
||||
|
||||
services.xserver.desktopManager.enlightenment.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable the Enlightenment desktop environment.";
|
||||
};
|
||||
|
|
|
@ -72,6 +72,7 @@ in
|
|||
|
||||
services.xserver.desktopManager.gnome3 = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable Gnome 3 desktop manager.";
|
||||
};
|
||||
|
|
|
@ -10,6 +10,7 @@ in
|
|||
options = {
|
||||
services.xserver.desktopManager.kodi = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "Enable the kodi multimedia center.";
|
||||
};
|
||||
|
|
|
@ -15,6 +15,7 @@ in
|
|||
options = {
|
||||
services.xserver.displayManager.startx = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable the dummy "startx" pseudo-display manager,
|
||||
|
|
|
@ -15,6 +15,7 @@ in
|
|||
services.xserver.wacom = {
|
||||
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable the Wacom touchscreen/digitizer/tablet.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue