mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
Compare commits
2 Commits
d6645c340e
...
9c0ee5dfa1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c0ee5dfa1 | ||
|
|
b27995044c |
@@ -20,6 +20,9 @@
|
|||||||
lib.mkDefault pkgs.linuxPackages_latest
|
lib.mkDefault pkgs.linuxPackages_latest
|
||||||
);
|
);
|
||||||
|
|
||||||
|
# NPU, GPU
|
||||||
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|
||||||
# Intel NPU Driver
|
# Intel NPU Driver
|
||||||
# https://discourse.nixos.org/t/new-installation-on-asus-zenbook-ux5406-intel-vpu-firmware-error-2/58732/2
|
# https://discourse.nixos.org/t/new-installation-on-asus-zenbook-ux5406-intel-vpu-firmware-error-2/58732/2
|
||||||
hardware.firmware = lib.optionals (config.hardware.enableRedistributableFirmware) [
|
hardware.firmware = lib.optionals (config.hardware.enableRedistributableFirmware) [
|
||||||
@@ -40,10 +43,6 @@
|
|||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
warnings = lib.mkIf (!config.hardware.enableRedistributableFirmware) [
|
|
||||||
''For Intel NPU support, set the option: hardware.enableRedistributableFirmware = true;''
|
|
||||||
];
|
|
||||||
|
|
||||||
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
hardware.framework.laptop13.audioEnhancement.rawDeviceName =
|
||||||
lib.mkDefault "alsa_output.pci-0000_00_1f.3.analog-stereo";
|
lib.mkDefault "alsa_output.pci-0000_00_1f.3.analog-stereo";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user