spec(chireiden): enable prime GPU switching

This commit is contained in:
514fpv 2024-01-02 16:21:33 +08:00
parent 06587cfede
commit 06ca216223
Signed by: koishi
SSH key fingerprint: SHA256:VkIdW3jUIiqecV2WNAje2fGU5lEhN0XZ58DN0NS4pv0

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;