summary refs log tree commit diff
path: root/nixos/modules/services/misc/cgminer.nix
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2021-09-17 12:00:00 +0000
committerYuka <yuka@yuka.dev>2021-09-18 14:42:08 +0200
commit3e9520f414e438b5f4911838713e34d11268163f (patch)
tree974094d66e5d9fbbd9c91e3081f0c3836ec959c9 /nixos/modules/services/misc/cgminer.nix
parent8c2e6705b38182cbe1f2fb1e460e7b7d26d75b46 (diff)
downloadnixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar.gz
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar.bz2
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar.lz
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar.xz
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.tar.zst
nixpkgs-3e9520f414e438b5f4911838713e34d11268163f.zip
nixos/cgminer: fix type of services.cgminer.config option
Diffstat (limited to 'nixos/modules/services/misc/cgminer.nix')
-rw-r--r--nixos/modules/services/misc/cgminer.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/cgminer.nix b/nixos/modules/services/misc/cgminer.nix
index 662570f9451..96e84f84e02 100644
--- a/nixos/modules/services/misc/cgminer.nix
+++ b/nixos/modules/services/misc/cgminer.nix
@@ -86,7 +86,7 @@ in
 
       config = mkOption {
         default = {};
-        type = (types.either types.bool types.int);
+        type = types.attrsOf (types.either types.bool types.int);
         description = "Additional config";
         example = {
           auto-fan = true;