Skip to content

Commit

Permalink
Merge pull request #1098 from Lyndeno/dell_nvidia
Browse files Browse the repository at this point in the history
Dell: Add Nvidia Architectures
  • Loading branch information
Mic92 authored Sep 3, 2024
2 parents 366ddc3 + 12acfde commit f7e31ff
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 13 deletions.
1 change: 1 addition & 0 deletions dell/g3/3779/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
imports = [
../../../common/cpu/intel
../../../common/gpu/nvidia/prime.nix
../../../common/gpu/nvidia/pascal
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
Expand Down
1 change: 1 addition & 0 deletions dell/xps/15-9500/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
imports = [
../default.nix
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/turing
];

hardware.nvidia.prime = {
Expand Down
5 changes: 4 additions & 1 deletion dell/xps/15-9510/nvidia/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{ lib, pkgs, ... }: {
imports = [ ../../../../common/gpu/nvidia/prime.nix ];
imports = [
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/ampere
];

#D-Bus service to check the availability of dual-GPU
services.switcherooControl.enable = lib.mkDefault true;
Expand Down
1 change: 1 addition & 0 deletions dell/xps/15-9520/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
imports = [
../default.nix
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/ampere
];

hardware.nvidia.prime = {
Expand Down
1 change: 1 addition & 0 deletions dell/xps/15-9550/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
imports = [
../default.nix
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/maxwell
];

hardware.nvidia.prime = {
Expand Down
1 change: 1 addition & 0 deletions dell/xps/15-9560/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../../common/pc/laptop
./xps-common.nix
../../../common/gpu/nvidia
../../../common/gpu/nvidia/pascal
];

hardware.graphics.enable = true;
Expand Down
1 change: 1 addition & 0 deletions dell/xps/15-9560/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
../../../../common/gpu/nvidia/prime.nix
../../../../common/pc/laptop
../xps-common.nix
../../../../common/gpu/nvidia/pascal
];


Expand Down
1 change: 1 addition & 0 deletions dell/xps/17-9700/nvidia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
../../../../common/cpu/intel
../../../../common/pc/laptop
../../../../common/gpu/nvidia/prime.nix
../../../../common/gpu/nvidia/turing
../common.nix
];

Expand Down
24 changes: 12 additions & 12 deletions tests/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7e31ff

Please sign in to comment.