summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sif.nix5
-rw-r--r--sif/boot.nix2
2 files changed, 7 insertions, 0 deletions
diff --git a/sif.nix b/sif.nix
index ea707047..7d375d98 100644
--- a/sif.nix
+++ b/sif.nix
@@ -330,6 +330,11 @@
330 330
331 nvidia = { 331 nvidia = {
332 modesetting.enable = true; 332 modesetting.enable = true;
333 optimus_prime = {
334 enable = true;
335 nvidiaBusId = "PCI:1:0.0";
336 intelBusId = "PCI:0:2.0";
337 };
333 }; 338 };
334 339
335 opengl.driSupport32Bit = true; 340 opengl.driSupport32Bit = true;
diff --git a/sif/boot.nix b/sif/boot.nix
index 1a6155b3..d903b16f 100644
--- a/sif/boot.nix
+++ b/sif/boot.nix
@@ -11,6 +11,8 @@
11 kernelModules = [ "dm-raid" ]; 11 kernelModules = [ "dm-raid" ];
12 }; 12 };
13 13
14 blacklistedKernelModules = [ "nouveau" ];
15
14 # Use the systemd-boot EFI boot loader. 16 # Use the systemd-boot EFI boot loader.
15 loader = { 17 loader = {
16 systemd-boot.enable = true; 18 systemd-boot.enable = true;