GPU: fix collision with Intel drivers
This commit is contained in:
parent
d374e94b04
commit
abd29996c4
|
@ -193,10 +193,7 @@ in
|
||||||
vpn = {
|
vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
privateKey = config.secrets.services.protonvpn.privateKey;
|
privateKey = config.secrets.services.protonvpn.privateKey;
|
||||||
countries = [
|
countries = [ "Netherlands" ];
|
||||||
"Norway"
|
|
||||||
"Netherlands"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
ssh = {
|
ssh = {
|
||||||
|
|
|
@ -43,16 +43,16 @@ in
|
||||||
ACTION=="add", ATTRS{id/vendor}==${vendorID}, ATTRS{id/product}==${productID}, RUN+="${pkgs.bash}/bin/bash -c 'echo 0x03 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id && echo 0x05 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id'"
|
ACTION=="add", ATTRS{id/vendor}==${vendorID}, ATTRS{id/product}==${productID}, RUN+="${pkgs.bash}/bin/bash -c 'echo 0x03 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id && echo 0x05 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id'"
|
||||||
'';
|
'';
|
||||||
/*
|
/*
|
||||||
services.udev.packages = [
|
services.udev.packages = [
|
||||||
(pkgs.writeTextFile {
|
(pkgs.writeTextFile {
|
||||||
name = "victrix-pro-bfg.rules";
|
name = "victrix-pro-bfg.rules";
|
||||||
executable = true;
|
executable = true;
|
||||||
destination = "/etc/udev/rules.d/70-victrix-pro-bfg.rules";
|
destination = "/etc/udev/rules.d/70-victrix-pro-bfg.rules";
|
||||||
text = ''
|
text = ''
|
||||||
ACTION=="add", ATTRS{id/vendor}==${vendorID}, ATTRS{id/product}==${productID}, RUN+="${pkgs.bash}/bin/bash -c 'echo 0x03 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id && echo 0x05 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id'"
|
ACTION=="add", ATTRS{id/vendor}==${vendorID}, ATTRS{id/product}==${productID}, RUN+="${pkgs.bash}/bin/bash -c 'echo 0x03 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id && echo 0x05 ${vendorID} ${productID} > /sys/bus/hid/drivers/xpadneo/new_id'"
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
*/
|
*/
|
||||||
|
|
||||||
# Add script to restart xpadneo in case of issues
|
# Add script to restart xpadneo in case of issues
|
||||||
|
|
|
@ -20,13 +20,13 @@ in
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = [
|
extraPackages = with pkgs; [
|
||||||
pkgs.intel-media-driver
|
intel-media-driver
|
||||||
pkgs.unstable.vpl-gpu-rt
|
onevpl-intel-gpu
|
||||||
];
|
];
|
||||||
extraPackages32 = with pkgs.driversi686Linux; [
|
extraPackages32 = with pkgs.driversi686Linux; [
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
pkgs.unstable.vpl-gpu-rt
|
onevpl-intel-gpu
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue