devices.pc: switch to prime

This commit is contained in:
2025-07-15 17:00:26 +08:00
parent ca26d7f8e1
commit 505f93053f

View File

@@ -57,7 +57,15 @@ inputs:
nixpkgs = { march = "znver4"; cuda.capabilities = [ "8.9" ]; };
sysctl.laptop-mode = 5;
};
hardware = { gpu = { type = "nvidia"; nvidia.dynamicBoost = true; }; legion = {}; };
hardware =
{
gpu =
{
type = "amd+nvidia";
nvidia = { dynamicBoost = true; prime.busId = { amd = "5:0:0"; nvidia = "1:0:0"; }; };
};
legion = {};
};
services =
{
samba =