mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Update nixos/modules/services/misc/cgminer.nix
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
f3719756b5
commit
7cc9ced775
@ -11,7 +11,7 @@ let
|
||||
mapAttrsToList (n: v: ''"${n}": "${(concatStringsSep "," (map convType v))}"'')
|
||||
(foldAttrs (n: a: [n] ++ a) [] cfg.hardware);
|
||||
mergedConfig = with builtins;
|
||||
mapAttrsToList (n: v: ''"${n}": ${if isBool v then (convType v) else ''"${convType v}"''}'')
|
||||
mapAttrsToList (n: v: ''"${n}": ${if isBool v then convType v else ''"${convType v}"''}'')
|
||||
cfg.config;
|
||||
|
||||
cgminerConfig = pkgs.writeText "cgminer.conf" ''
|
||||
|
Loading…
Reference in New Issue
Block a user