diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 11:05:28 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-11-08 11:05:28 -0800 |
commit | ac3e94d7e05bad0ef393b29f7cbd81b03547858d (patch) | |
tree | a7b949acaf19335aae74e588683aee276afceab9 | |
parent | 941cc559d4b8504d341f739b42c9085d6bd180bc (diff) | |
download | nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar.gz nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar.bz2 nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar.lz nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar.xz nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.tar.zst nix-ac3e94d7e05bad0ef393b29f7cbd81b03547858d.zip |
Add Nvidia drivers @ginaz
-rw-r--r-- | hosts/arrakis/.hardware-configuration.nix.swp | bin | 0 -> 12288 bytes | |||
-rw-r--r-- | hosts/ginaz/hardware-configuration.nix | 22 |
2 files changed, 16 insertions, 6 deletions
diff --git a/hosts/arrakis/.hardware-configuration.nix.swp b/hosts/arrakis/.hardware-configuration.nix.swp Binary files differnew file mode 100644 index 0000000..6181586 --- /dev/null +++ b/hosts/arrakis/.hardware-configuration.nix.swp diff --git a/hosts/ginaz/hardware-configuration.nix b/hosts/ginaz/hardware-configuration.nix index a4c479c..263ac54 100644 --- a/hosts/ginaz/hardware-configuration.nix +++ b/hosts/ginaz/hardware-configuration.nix @@ -46,12 +46,22 @@ bluetooth.enable = true; #bluetooth.powerOnBoot = true; - nvidia.prime = { - amdgpuBusId = "PCI:4:0:0"; - nvidiaBusId = "PCI:1:0:0"; - offload = { - enable = true; - enableOffloadCmd = true; + graphics = { + enable = true; + extraPackages = with pkgs; [ nvidia-vaapi-driver ]; + extraPackages32 = with pkgs.pkgsi686Linux; [ nvidia-vaapi-driver ]; + }; + + nvidia = { + modesetting.enable = true; + open = true; + prime = { + amdgpuBusId = "PCI:4:0:0"; + nvidiaBusId = "PCI:1:0:0"; + offload = { + enable = true; + enableOffloadCmd = true; + }; }; }; }; |