diff --git a/desktops/common.nix b/desktops/common.nix index f10ab89a..1788fcb9 100644 --- a/desktops/common.nix +++ b/desktops/common.nix @@ -32,10 +32,10 @@ enable = true; layout = "us"; xkbVariant = ""; - libinput = { - enable = true; - touchpad.tapping = true; - }; + # libinput = { + # enable = true; + # touchpad.tapping = true; + # }; # Enable nVidia drivers videoDrivers = [ "nvidia" ]; diff --git a/hosts/nixos-laptop/configuration.nix b/hosts/nixos-laptop/configuration.nix index 41a492c0..9272834d 100644 --- a/hosts/nixos-laptop/configuration.nix +++ b/hosts/nixos-laptop/configuration.nix @@ -32,7 +32,10 @@ opengl.enable = true; opengl.driSupport32Bit = true; + nvidia.powerManagement.enable = true; + nvidia.prime = { + offload.enable = true; intelBusId = lib.mkDefault "PCI:0:2:0"; nvidiaBusId = lib.mkDefault "PCI:1:0:0"; };