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:
@@ -10,12 +10,7 @@ in
|
||||
|
||||
options = {
|
||||
services.ratbagd = {
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable ratbagd for configuring gaming mice.
|
||||
'';
|
||||
};
|
||||
enable = mkEnableOption "ratbagd for configuring gaming mice";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -8,12 +8,7 @@ in {
|
||||
###### interface
|
||||
options = {
|
||||
services.thermald = {
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable thermald, the temperature management daemon.
|
||||
'';
|
||||
};
|
||||
enable = mkEnableOption "thermald, the temperature management daemon";
|
||||
|
||||
debug = mkOption {
|
||||
type = types.bool;
|
||||
|
||||
Reference in New Issue
Block a user