aboutsummaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/arrakis/.hardware-configuration.nix.swpbin0 -> 12288 bytes
-rw-r--r--hosts/ginaz/hardware-configuration.nix22
2 files changed, 16 insertions, 6 deletions
diff --git a/hosts/arrakis/.hardware-configuration.nix.swp b/hosts/arrakis/.hardware-configuration.nix.swp
new file mode 100644
index 0000000..6181586
--- /dev/null
+++ b/hosts/arrakis/.hardware-configuration.nix.swp
Binary files differ
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;
+ };
};
};
};