1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-18 17:09:41 +01:00
Commit graph

6 commits

Author SHA1 Message Date
Jörg Thalheim
03c6d15152 treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
Tristan Daniël Maat
cdd049a353
treewide: Migrate to new nvidia modules 2022-11-13 01:55:13 +00:00
Anthony Roussel
68c87edeb9
dell-xps-15-9560-nvidia: use Nvidia Offload mode to save battery power
Also rename deprecated `hardware.nvidia.optimus_prime.*' to `hardware.nvidia.prime.*' since NixOS 20.09.

> The hardware.nvidia.optimus_prime.enable service has been renamed to
> hardware.nvidia.prime.sync.enable and has many new enhancements.
> Related nvidia prime settings may have also changed.

See https://nixos.org/manual/nixos/stable/release-notes.html#sec-release-20.09
2022-04-11 16:44:32 +02:00
Jörg Thalheim
d2d9a58a5c
remove systemd-boot from hardware profiles (#307)
- We should not enable canTouchEfiVariables by default as this
  wears out the EFI storage.
- We should not set systemd-boot as default. This is up to the user to
  decide. There are exceptions when hardware only supports specific
  bootloaders so.
2021-08-21 09:22:25 +01:00
Thiago Kenji Okada
36094450fd Add nvidia-disable profile
This is already used in XPS 15-9560, but instead of defining it in XPS
15-9560 let's create a separate profile and expose it for those who want
to disable their NVIDIA GPU.
2021-02-28 13:51:46 -03:00
Daniel Rafaj
8b50556e2d Add xps 9560 with its own quirks, I added versions:
1 default one, with nvidia working and intel working, needs optirun to
run application with nvidia
2 intel only, I am using this as my daily driver for long time, only
intel is turned on and nvidia is turned off and doesn't drain any
power.
3 nvidia only, intel is dissabled and nvidia is picked as default gpu,
no need to fiddle with optirun etc, good for gpu heavy application.

All these settings needs to reboot to work properly
2020-02-18 13:25:25 +01:00