wip
This commit is contained in:
parent
92a1044b2a
commit
3486ba837b
4 changed files with 11 additions and 6 deletions
|
@ -71,7 +71,9 @@
|
||||||
# for congress and streaming
|
# for congress and streaming
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = [ pkgs.vaapiIntel ];
|
extraPackages = [
|
||||||
|
pkgs.vaapiIntel
|
||||||
|
];
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,14 +30,13 @@ in {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#nixpkgs.config.allowBroken = true;
|
# https://wiki.archlinux.org/title/GPGPU#Intel
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
vaapiIntel
|
|
||||||
libvdpau-va-gl
|
|
||||||
vaapiVdpau
|
|
||||||
intel-ocl
|
intel-ocl
|
||||||
|
intel-compute-runtime
|
||||||
|
beignet
|
||||||
];
|
];
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
|
|
|
@ -17,6 +17,8 @@ in
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
users.users.root.initialPassword = "root";
|
||||||
|
|
||||||
# allow un-free
|
# allow un-free
|
||||||
# -------------
|
# -------------
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
@ -34,7 +36,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
pool = "eu1.ethermine.org";
|
pool = "eu1.ethermine.org";
|
||||||
wallet = parameters.wallet;
|
wallet = parameters.wallet;
|
||||||
rig = "usb-stick";
|
rig = parameters.rig;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
|
@ -47,6 +49,7 @@ in
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
go-ethereum
|
go-ethereum
|
||||||
i7z # check temperature
|
i7z # check temperature
|
||||||
|
pciutils # lspci
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
ssid = "Your SSID";
|
ssid = "Your SSID";
|
||||||
password = "Your Password";
|
password = "Your Password";
|
||||||
wallet = "Your ETH Wallet Address";
|
wallet = "Your ETH Wallet Address";
|
||||||
|
rig = "usb-stick";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue