about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2019-08-22 23:10:03 +0100
committerworldofpeace <worldofpeace@protonmail.ch>2019-09-07 03:34:06 -0400
commitda8019bfce214af78ac17a0251ada10de838d73a (patch)
treee3c0ed7c4f3833f760c60518fa765479c1f99975 /nixos
parentb3a06f10d1e950e1349e08e8952c2e1d0f8bf473 (diff)
downloadnixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar.gz
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar.bz2
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar.lz
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar.xz
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.tar.zst
nixlib-da8019bfce214af78ac17a0251ada10de838d73a.zip
iso-image: Enable nouveau by default
This is a much more sensible default for modern hardware.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/installer/cd-dvd/iso-image.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix
index d5c92cfc1d9e..93c8ebaa2496 100644
--- a/nixos/modules/installer/cd-dvd/iso-image.nix
+++ b/nixos/modules/installer/cd-dvd/iso-image.nix
@@ -165,8 +165,8 @@ let
     else
       "# No refind for ${targetArch}"
   ;
-  
-  grubPkgs = if config.boot.loader.grub.forcei686 then pkgs.pkgsi686Linux else pkgs; 
+
+  grubPkgs = if config.boot.loader.grub.forcei686 then pkgs.pkgsi686Linux else pkgs;
 
   grubMenuCfg = ''
     #
@@ -562,8 +562,6 @@ in
 
     boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" ];
 
-    boot.blacklistedKernelModules = [ "nouveau" ];
-
     boot.initrd.kernelModules = [ "loop" ];
 
     # Closures to be copied to the Nix store on the CD, namely the init