summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-02-08 22:41:01 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-02-08 22:41:01 +0100
commitfadab4e5c3488fd4552860ed50885d5acb5e635d (patch)
treed6a571f342cef47d10956f8e34b9892c3f555413
parenta16f9e44ae73d07b8486ddfe67d44f2a613b8677 (diff)
downloadnixos-fadab4e5c3488fd4552860ed50885d5acb5e635d.tar
nixos-fadab4e5c3488fd4552860ed50885d5acb5e635d.tar.gz
nixos-fadab4e5c3488fd4552860ed50885d5acb5e635d.tar.bz2
nixos-fadab4e5c3488fd4552860ed50885d5acb5e635d.tar.xz
nixos-fadab4e5c3488fd4552860ed50885d5acb5e635d.zip
...
-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;