fix(chireiden): enable prime GPU switching

This commit is contained in:
514fpv 2024-01-02 16:21:33 +08:00
parent 69a7cfd999
commit b03ac82888
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -7,6 +7,13 @@
fs.cryptsetup.enable = true;
fs.cryptsetup.uuids.nix = "3905f87f-7b11-49ef-8ddf-f4202c555ffd";
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;