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:
@@ -31,13 +31,7 @@ in
|
||||
|
||||
services.cgminer = {
|
||||
|
||||
enable = mkOption {
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enable cgminer, an ASIC/FPGA/GPU miner for bitcoin and
|
||||
litecoin.
|
||||
'';
|
||||
};
|
||||
enable = mkEnableOption "cgminer, an ASIC/FPGA/GPU miner for bitcoin and litecoin";
|
||||
|
||||
package = mkOption {
|
||||
default = pkgs.cgminer;
|
||||
|
||||
Reference in New Issue
Block a user