feat: create specialization for testing nvk.
This commit is contained in:
parent
2391c71957
commit
b3b0241649
1 changed files with 7 additions and 1 deletions
|
|
@ -64,7 +64,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Setup nvidia drivers
|
# Setup nvidia drivers
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = lib.mkIf (config.specialisation != {}) ["nvidia"];
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
open = true;
|
open = true;
|
||||||
|
|
@ -92,6 +92,12 @@
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
specialisation = {
|
||||||
|
nvk.configuration = {
|
||||||
|
hardware.nvidia.open = lib.mkDefault false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager = {
|
networking.networkmanager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue