140 Commits

Author SHA1 Message Date
Jörg Thalheim
d2c87a8e19 replace tlp with power-profiles-daemon
TLP is often no longer the best choice since firmware provides power
profiles instead. That's why we are removing TLP as the default option.
We may want to bring back TLP to some old hardware if it makes sense
i.e. certain thinkpad modules.
2025-07-02 07:09:13 +02:00
Andre
51e51e6014 chore: format repo using treefmt-nix and nixfmt-rfc-style 2025-06-04 12:35:54 -04:00
Jörg Thalheim
e8f38b2c19 Merge pull request #1414 from moduon/nvidia-battery-saver
feat(nvidia-prime): automatic battery-saver specialisation
2025-05-19 21:49:27 +02:00
Jörg Thalheim
ff949f78d6 ideacentr-k330: include nvidia-fermi architecture 2025-05-13 11:41:12 +02:00
Jairo Llopis
33d083f55b feat(nvidia-prime): automatic battery-saver specialisation
This enables a boot option that switches off NVIDIA GPU. Allows for battery saving.

@moduon MT-9339
2025-05-05 12:54:08 +01:00
Peter Bittner
7d9552ef6b Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was
replaced by a symlink to keep things working. We can consolidate this now.
2025-05-05 11:17:15 +02:00
Jairo Llopis
84eb0330ae feat: add Lenovo ThinkPad P16s Intel Gen 2
@moduon MT-9339
2025-04-30 12:58:16 +01:00
Benedikt Rips
72081c9fbb dell-precision-3490: init module 2025-04-29 19:34:49 +00:00
Jörg Thalheim
8bf8a2a082 Merge pull request #1268 from NixOS/e14-intel
E14-intel: import intel comet lake
2025-04-23 09:10:33 +02:00
Mads Rumle Nordstrøm
de6fc55511 added intel whiskey lake 2025-03-31 11:35:42 +00:00
Sandro Jäckel
085c9ada2d intel-comet-lake: use intel-media-driver
It is new enough that we don't need or want intel-vaapi-driver.
2025-03-28 17:21:24 +01:00
ccritter
52cfc084ef dell/inspiron/7559: add + corresponding Skylake architecture configuration. 2025-03-07 05:11:18 +00:00
Manuel Transfeld
f75203cc31 common/gpu/nvidia: remove a default value (#1373)
https://github.com/NixOS/nixpkgs/pull/326369 has been merged.
2025-02-24 08:48:14 +01:00
Matei Dibu
d73a04dabf gpu/intel/tiger-lake: don't try to use Xe by default
it doesn't work without a force_probe anyway

see https://github.com/NixOS/nixos-hardware/issues/1278
2025-01-09 16:44:32 +02:00
Jörg Thalheim
c6c90887f8 drop acpi_call from nixos-hardware
fixes https://github.com/NixOS/nixos-hardware/issues/1114 and tlp also
no longer recommands it.
2024-12-02 12:33:14 +01:00
adjoly
0c657fd134 feat(Intel CoffeeLake): Added support 2024-11-16 06:54:23 +00:00
onurmercury
4048e9ce2d Fix "nividia" typo 2024-10-31 09:22:48 +00:00
Andre
b486ff2d75 Revert "common/gpu/intel: Disable intel-ocl due to web.archive.org outage"
This reverts commit e8a2f6d551.
2024-10-31 09:09:53 +00:00
Gavin John
e8a2f6d551 common/gpu/intel: Disable intel-ocl due to web.archive.org outage 2024-10-24 03:58:40 +00:00
Jörg Thalheim
22e8de2729 Merge pull request #1197 from NixOS/lunar-lake
common/gpu/intel/lunar-lake: enable xe driver
2024-10-22 21:14:45 +02:00
Jörg Thalheim
8c3e99bfa5 cpu/intel: make sure we import the local cpu-only profiles 2024-10-22 18:27:18 +02:00
Jörg Thalheim
6e486f2812 common/gpu/intel/lunar-lake: enable xe driver
Starting with lunarlake this driver no longer needs to force probe:

ad46e8f95e/drivers/gpu/drm/xe/xe_pci.c (L339)

Co-authored-by: Gavin John <gavinnjohn@gmail.com>
2024-10-22 18:27:09 +02:00
André Silva
77ec51c21c common-gpu-intel-kaby-lake: enable HuC firmware loading 2024-10-21 11:22:17 +00:00
André Silva
6791578c4b common-cpu-intel-alder-lake: init 2024-10-21 11:22:17 +00:00
Gavin John
c058019ce1 common/cpu/intel: add architecture-specific modules 2024-10-21 09:00:57 +00:00
Pádraic Ó Mhuiris
8f38d8a475 dell/xps/15-9520: use alder-lake gpu profile 2024-10-20 09:44:21 +00:00
Jörg Thalheim
be33295d69 gpu/intel/tiger-lake: simplify conditionals 2024-10-20 09:44:21 +00:00
Gavin John
86a33c3e32 common/gpu/intel: update modules to use new options 2024-10-20 09:44:21 +00:00
Gavin John
184091915d common/gpu/intel: add vaapi configuration options 2024-10-20 09:44:21 +00:00
Gavin John
0ccdd27056 common/gpu/intel: reformat 2024-10-20 09:44:21 +00:00
Gavin John
7200fdc70f comon/gpu/intel: Add VAAPI support for older iGPUs 2024-09-29 16:33:55 -07:00
Jörg Thalheim
8d839c1672 only incrase font size for older kernel 2024-09-24 19:14:41 +02:00
Lyndon Sanche
7ea5daa492 common-gpu-nvidia: Add kepler 2024-09-04 11:27:08 -06:00
Bradley Nelson
ca005ac1e8 fix: spelling errors 2024-09-03 17:29:09 +00:00
Bradley Nelson
04567f4ebc fix: Update NVIDIA GPU configurations to use mkOverride 2024-09-03 17:29:09 +00:00
Bradley Nelson
4ac7150415 feat: Add configurations for nvidia microarchitectures with configs for the open source drivers 2024-09-03 17:29:09 +00:00
Luna
c4e1b82a91 gpu/intel: cleanup vdpau variable 2024-08-28 16:36:54 +00:00
jaredmontoya
83dfb51306 fix: intelgpu.loadInInitrd now does something 2024-08-24 01:33:08 +02:00
Ali Rizvi
14c333162b treewide: remove uses of lib.mdDoc 2024-07-30 09:47:52 +00:00
Dom Rodriguez
d8bfbbf614 fix: Add more aliases to 24.05-compat
We're using these options too, which breaks builds without this commit.

Fixes: #1045
Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2024-07-19 15:41:46 +00:00
Jörg Thalheim
c5013aa7ce common/gpu/nvidia: use lib.mkDefault for hardware.nvidia.modesetting 2024-07-11 22:43:18 +00:00
seth
6b745e2331 common-gpu-nvidia: enable modesetting by default
This is commonly required for many applications. As of
https://github.com/NixOS/nixpkgs/pull/324921 this will also enable
`nvidia-drm.fbdev=1`, fixing issues such as
https://github.com/NixOS/nixpkgs/issues/302059
2024-07-11 22:43:18 +00:00
seth
c5925d86de common-gpu-nvidia: drop libva-vdpau-driver
libva-vdpau-driver has not seen a new release in over a decade and is a
common cause for bugs in some applications. NixOS has also been using
the now preferred nvidia-vaapi-driver since
https://github.com/NixOS/nixpkgs/pull/162660, so there isn't much reason
to keep this
2024-07-11 22:43:18 +00:00
Lyndon Sanche
ba8294c0a1 common: Move Intel generation-specific config from cpu to gpu
These modules only included gpu configuration, so belong in that
location.
2024-07-09 09:05:35 +00:00
Lyndon Sanche
231274268f gpu/amd: Remove loadInInitrd option
Option is now in nixpkgs under `hardware.amdgpu.initrd.enable` as of
NixOS/nixpkgs@6a0b6a6b74
2024-06-29 07:55:37 +00:00
x123
14aadcba1a common/gpu/nvidia: vaapiVdpau -> libva-vdpau-driver 2024-06-27 11:28:16 +00:00
Jörg Thalheim
5fe1583567 gpu/amd: remove unused pkgs 2024-06-26 14:50:27 +00:00
Jörg Thalheim
4677bf5e89 gpu/intel: remove outdated libvdpau-va-gl driver
the existing drivers should provide video accelerations since broadwell.
This driver also caused a crash in the past in VLC:
https://github.com/NixOS/nixpkgs/issues/283083
2024-06-26 14:50:27 +00:00
Jörg Thalheim
4e59e4c9e9 common/gpu/24.05-compat: don't create conflicts with user configuration
fixes https://github.com/NixOS/nixos-hardware/issues/1000
2024-06-22 13:22:07 +02:00
Jörg Thalheim
584a5e5518 fix 24.05 evaluation 2024-06-21 23:50:11 +02:00