1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-30 14:59:43 +01:00
Commit graph

1486 commits

Author SHA1 Message Date
Chris McDonough
6261a28429 conditionally turn on power management and modesetting when we are in sync mode 2022-07-12 20:01:42 -04:00
Chris McDonough
fd08b05aed comment about acpi errors 2022-07-12 17:11:02 -04:00
Chris McDonough
116ae977ab throttled consistency 2022-07-11 17:44:39 -04:00
Chris McDonough
6bd8ae5409 flake changes 2022-07-11 14:05:13 -04:00
Chris McDonough
20530b31ef flake changes 2022-07-11 14:04:34 -04:00
Chris McDonough
47cb2be872 mkDefault consistency 2022-07-10 19:13:48 -04:00
Chris McDonough
c2295916b3 mkDefault consistency 2022-07-10 19:10:49 -04:00
Chris McDonough
bd873a9807 cannot replicate sleep problem without external monitor or any usb device plugged in 2022-07-09 04:36:30 -04:00
Chris McDonough
f5d9dd114f cannot replicate findings for sleep not working when system has no usb or external video plugged in to it, make wireless work 2022-07-08 23:11:43 -04:00
Chris McDonough
22cdffc925 turns out hardware.enableAllFirmware is also required for p51 wireless 2022-07-07 10:00:40 -04:00
Chris McDonough
005e19d6f0 required to make wireless work 2022-07-07 09:31:42 -04:00
Chris McDonough
ac75bbc476 transform sleep comment into optionally includable expression 2022-07-05 17:45:16 -04:00
Chris McDonough
e36b0c4022 add p52 2022-07-05 14:39:22 -04:00
Chris McDonough
f90db4cb9e add p50 and p51 2022-07-04 23:24:35 -04:00
Sandro
3bf48d3587
Merge pull request #431 from SuperSamus/patch-1
AMD: Add lib.mkDefault to AMD_VULKAN_ICD
2022-07-04 13:21:50 +02:00
SuperSamus
0efe78c51a
AMD: Add lib.mkDefault to AMD_VULKAN_ICD 2022-07-02 23:39:55 +02:00
Jörg Thalheim
c530838143
Merge pull request #429 from xfix/lenovo-gen4
thinkpad/x1-extreme/gen4: add module
2022-07-01 21:04:22 +02:00
Konrad Borowski
c3aa1fae79 lenovo/thinkpad/x1-extreme/gen4: add module 2022-07-01 20:54:40 +02:00
Thiago Kenji Okada
a50513f8a6
Merge pull request #430 from Melkor333/master
Fix Wifi for Lenovo Thinkpad T14s Gen1
2022-06-30 22:28:24 +01:00
Samuel Hierholzer
3d9b6a6215 Fix Wifi for Lenovo Thinkpad T14s Gen1 2022-06-28 08:28:04 +02:00
Jörg Thalheim
78e7c2c397
Merge pull request #428 from NixOS/macbook-pro-flake
flake.nix: add macbook-pro
2022-06-27 20:16:57 +02:00
André Silva
a3dfc3100b
flake.nix: add macbook-pro 2022-06-26 13:20:38 +01:00
Thiago Kenji Okada
99e33a5714
Merge pull request #426 from ulrikstrid/ulrikstrid--16ITHg6
Add lenovo legion 7 16ITHg6
2022-06-26 11:57:44 +01:00
Thiago Kenji Okada
9aa5395bd5
Merge pull request #427 from thiagokokada/fix-nvidia-offload
nvidia: remove `-a` flag from exec
2022-06-26 11:56:00 +01:00
Thiago Kenji Okada
9194b8e949 nvidia: remove -a flag from exec
The `-a` from exec sets the `$0` from the process. So `exec -a "$0"`
would set the name of the new process to `nvidia-offload` (the name of
the script), however this is causing issues with a few programs that try
to interpret `$0` in a special way. For example, see `wine`:

```
$ nvidia-offload /nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/wine .osu/drive_c/osu/osu\!.exe
/nix/store/zhv91s26gsrl1w8yn9800xd03a31r3wj-wine-osu-7.0/bin/nvidia-offload: could not open
```

What I think `wine` is doing here is trying to re-exec `wine` again, but
to do so it tries to figure out the original call of wine by readind `$0`,
and will fail in this case because the `$0` was changed because of the
`nvidia-offload` script using `-a` flag, as explained above.

Instead, let's simplify this. There is no good reason to rename the `$0`
from the script anyway (it just sets a few environment variables), so let's
just remove it. We may lose the ability to know if the command is being
offloaded, but I think having more commands to work is a good trade-off.
2022-06-24 23:45:31 +01:00
Ulrik Strid
9ec5f52ea2 Add lenovo legion 7 16ITHg6 2022-06-23 09:30:05 +02:00
Jörg Thalheim
f9d8dff4e6
Merge pull request #425 from Moredread/common
flake.nix: add common-gpu-intel
2022-06-21 06:35:51 +01:00
André-Patrick Bubel
26291dec5b flake.nix: add common-gpu-intel 2022-06-21 06:12:29 +02:00
Jörg Thalheim
0cab18a48d
Merge pull request #422 from NixOS/msi-gl62-ini
msi/gl62: reworked
2022-06-01 05:29:57 +01:00
Jörg Thalheim
03fd7b6bd0
msi/gl62: also include basic README 2022-06-01 06:27:46 +02:00
Raphiel Rollerscaperers
0543980bd6
msi/gl62: init
This commit initialize support for MS-16J61 (Laptop) Motherboard
with unified BIOS of E16J6IMS, which includes:

  - MSI GL62 6QD
  - MSI GL62 6QC
  - MSI CX62 6QD
  - MSI CR62 6M
2022-06-01 06:25:02 +02:00
Sandro
8252035d61
Merge pull request #421 from sbruder/p14s-rtw89
p14s: ensure rtw89 driver is available
2022-05-31 22:49:55 +02:00
Simon Bruder
07e5049f8f
p14s: ensure rtw89 driver is available 2022-05-31 13:38:23 +02:00
Jörg Thalheim
39a7bfc496
Merge pull request #418 from sauricat/master
update readme: known issue of disability waking from suspend
2022-05-25 08:20:24 +01:00
Jörg Thalheim
fb4213bf01
Merge pull request #419 from Emiller88/framework-firmware
docs(framework): Add notes about updating firmware
2022-05-25 08:19:23 +01:00
Edmund Miller
0f00877343
docs(framework): Add notes about updating firmware
https://github.com/NixOS/nixos-hardware/pull/406#issuecomment-1132577510
2022-05-23 10:28:22 -05:00
Shu Lin
169611d1d7
update readme: known issue 2022-05-23 21:46:43 +08:00
Jörg Thalheim
8b5e1bf2fd
Merge pull request #412 from j-steinbach/dell-latitude-5520
Add Dell Latitude 5520
2022-05-21 16:01:52 +01:00
JSteinbach
e850604127 Add Dell Latitude 5520 2022-05-21 15:10:54 +02:00
Jörg Thalheim
be2b338c6a
Merge pull request #416 from reedriley/framework
framework: add nvme.noacpi=1 and make fprintd optional
2022-05-20 17:55:54 +01:00
Reed Riley
4a8259f0e2 framework: add nvme.noacpi=1 2022-05-20 11:21:11 -04:00
Reed Riley
de8271f760 framework: make it possible to disable fprintd if desired 2022-05-20 11:07:10 -04:00
Jörg Thalheim
b49fe0e96e
Merge pull request #405 from anthonyroussel/fix-xps_9560-primus_deprecations
dell-xps-15-9560-nvidia: switch to Nvidia Offload mode to save battery power
2022-05-20 07:57:41 +01:00
Jörg Thalheim
31e258c27d
Merge pull request #408 from koalp/master
Add acpi_call for lenovo thinkpad x270
2022-05-20 07:57:23 +01:00
Jörg Thalheim
ca4e0ca186
Merge pull request #415 from NixOS/framework
framework: acpilight should be used
2022-05-20 07:55:53 +01:00
Irene Knapp
162fb7a987
framework: acpilight should be used 2022-05-20 08:49:38 +02:00
Jörg Thalheim
36daf08049
Merge pull request #414 from amarshall/fw-udev
framework: Fix headphone noise when on powersave
2022-05-20 07:47:51 +01:00
Jörg Thalheim
ae5047bcd0
Merge pull request #413 from amarshall/fw-mic
framework: Fix TRRS headphones missing a mic
2022-05-20 07:47:02 +01:00
Andrew Marshall
34485f1807 framework: Fix TRRS headphones missing a mic
As in the below forum post, this is not perhaps the most ideal solution
to the problem, but it is the simplest.

https://community.frame.work/t/headset-microphone-on-linux/12387/3
2022-05-19 15:56:34 -04:00
Andrew Marshall
f3dfd30170 framework: Fix headphone noise when on powersave
https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
2022-05-19 15:51:19 -04:00