mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 06:53:30 +01:00
chore: Add switcheroo service for Dual GPU
This commit is contained in:
1 parent
fc126177f6
commit
c3abafb01c
1 file changed
+3
@@ -1,6 +1,9 @@
|
|||||||
{ lib, pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
imports = [ ../../../../common/gpu/nvidia/prime.nix ];
|
imports = [ ../../../../common/gpu/nvidia/prime.nix ];
|
||||||
|
|
||||||
|
#D-Bus service to check the availability of dual-GPU
|
||||||
|
services.switcherooControl.enable = lib.mkDefault true;
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
nvidia = {
|
nvidia = {
|
||||||
prime = {
|
prime = {
|
||||||
|
|||||||
Reference in new issue
Block a user