spec(chireiden): enable prime GPU switching
This commit is contained in:
parent
06587cfede
commit
06ca216223
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
||||||
fs.cryptsetup.enable = true;
|
fs.cryptsetup.enable = true;
|
||||||
fs.cryptsetup.uuids.nix = "3905f87f-7b11-49ef-8ddf-f4202c555ffd";
|
fs.cryptsetup.uuids.nix = "3905f87f-7b11-49ef-8ddf-f4202c555ffd";
|
||||||
fs.cryptsetup.uuids.persist = "b2322f01-1c44-433f-a995-4ddce5845cf9";
|
fs.cryptsetup.uuids.persist = "b2322f01-1c44-433f-a995-4ddce5845cf9";
|
||||||
|
gui.enable = true;
|
||||||
|
gui.type = "prime";
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
intelBusId = "PCI:0:2:0";
|
||||||
|
nvidiaBusId = "PCI:5:0:0";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue