Move nvidia to a module

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

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 ------------------