ethminer fiddelings
This commit is contained in:
parent
8b40f21482
commit
e7dc29ced5
3 changed files with 5 additions and 15 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue