1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-17 23:29:46 +01:00
Commit graph

4 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
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