ethminer fiddelings

This commit is contained in:
Ingolf Wagner 2021-05-15 11:27:34 +02:00
parent 8b40f21482
commit e7dc29ced5
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 5 additions and 15 deletions

View file

@ -71,9 +71,7 @@
# for congress and streaming # for congress and streaming
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = [ extraPackages = [ pkgs.vaapiIntel ];
pkgs.vaapiIntel
];
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };

View file

@ -33,11 +33,7 @@ in {
# https://wiki.archlinux.org/title/GPGPU#Intel # https://wiki.archlinux.org/title/GPGPU#Intel
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [ intel-ocl intel-compute-runtime beignet ];
intel-ocl
intel-compute-runtime
beignet
];
driSupport = true; driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };

View file

@ -1,13 +1,9 @@
# $ nixos-generator -f iso -c configuration.nix -o image.iso # $ nixos-generator -f iso -c configuration.nix -o image.iso
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let parameters = import ./parameters.nix;
parameters = import ./parameters.nix; in {
in
{
imports = [ imports = [ ./ethminer.nix ];
./ethminer.nix
];
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {