aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/ginaz/hardware-configuration.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/hosts/ginaz/hardware-configuration.nix b/hosts/ginaz/hardware-configuration.nix
index f8a58f8..a4c479c 100644
--- a/hosts/ginaz/hardware-configuration.nix
+++ b/hosts/ginaz/hardware-configuration.nix
@@ -42,6 +42,17 @@
[ { device = "/dev/disk/by-label/swap"; }
];
- hardware.bluetooth.enable = true;
- #hardware.bluetooth.powerOnBoot = true;
+ hardware = {
+ bluetooth.enable = true;
+ #bluetooth.powerOnBoot = true;
+
+ nvidia.prime = {
+ amdgpuBusId = "PCI:4:0:0";
+ nvidiaBusId = "PCI:1:0:0";
+ offload = {
+ enable = true;
+ enableOffloadCmd = true;
+ };
+ };
+ };
}