Move nvidia to a module

This commit is contained in:
marc committed 2022-11-19 15:42:26 +01:00
1 parent 890b05d352
commit 40d468b433
5 files changed
+49 -33

No files matched your search

+5 -2
View File
@@ -3,7 +3,6 @@
{
imports = [
./hardware.nix
./nvidia.nix
];
# - Basic --------------------------------------
@@ -24,12 +23,16 @@
# - System -----------------------------------
system.bluetooth.enable = true;
system.nvidia = {
enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
# - Desktop ----------------------------------
desktop = {
enable = true;
laptop = true;
};
# - Editors and development ------------------