diff --git a/hosts/pro-laptop/configuration.nix b/hosts/pro-laptop/configuration.nix index 14ec850..1aa1333 100644 --- a/hosts/pro-laptop/configuration.nix +++ b/hosts/pro-laptop/configuration.nix @@ -19,6 +19,19 @@ networking.hostName = "nixos-laptop-pro"; # Define your hostname. + hardware.nvidia.prime = { + offload = { + enable = true; + enableOffloadCmd = true; + }; + + # Make sure to use the correct Bus ID values for your system! + # information bus: pci@0000:00:02.0 + intelBusId = "PCI:0:2:0"; + # information bus: pci@0000:01:00.0 + nvidiaBusId = "PCI:1:0:0"; + }; + modules.system = { desktop = { plasma.enable = true;