diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-19 22:06:55 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-19 22:06:55 +0200 |
commit | f37e67e360011cb90f9dc45a5cefbe2e06a8846d (patch) | |
tree | 40dd643c849a78b0832f860871729d2ea114c769 /hosts | |
parent | Change zsh config to fix up history (diff) | |
download | nixos-config-f37e67e360011cb90f9dc45a5cefbe2e06a8846d.tar.gz nixos-config-f37e67e360011cb90f9dc45a5cefbe2e06a8846d.tar.bz2 nixos-config-f37e67e360011cb90f9dc45a5cefbe2e06a8846d.zip |
Added NVIDIA drivers for phobos
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/phobos/hardware.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/hosts/phobos/hardware.nix b/hosts/phobos/hardware.nix index 84e9b8b..d13c0a1 100644 --- a/hosts/phobos/hardware.nix +++ b/hosts/phobos/hardware.nix @@ -25,9 +25,9 @@ in powerManagement.cpuFreqGovernor = powerMode; - #services.xserver.videoDrivers = [ "nvidia" ]; services.xserver = { - videoDrivers = [ "intel" ]; + videoDrivers = [ "nvidia" ]; + # Enable touchpad support (enabled default in most desktopManager). libinput.enable = true; }; @@ -38,16 +38,18 @@ in driSupport = true; }; - # nvidia.modesetting.enable = true; - /*nvidia.prime = { - sync.enable = true; + nvidia = { + modesetting.enable = true; + prime = { + sync.enable = true; - # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA - nvidiaBusId = "PCI:1:0:0"; + # Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA + nvidiaBusId = "PCI:1:0:0"; - # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA - intelBusId = "PCI:0:2:0"; - };*/ + # Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA + intelBusId = "PCI:0:2:0"; + }; + }; }; } |