diff --git a/nix/image-installer/module.nix b/nix/image-installer/module.nix index 07a1c5b..44a2100 100644 --- a/nix/image-installer/module.nix +++ b/nix/image-installer/module.nix @@ -40,8 +40,9 @@ in imports = [ (modulesPath + "/installer/cd-dvd/installation-cd-base.nix") ../installer.nix - ./wifi.nix + ../noveau-workaround.nix ./hidden-ssh-announcement.nix + ./wifi.nix ]; systemd.tmpfiles.rules = [ "d /var/shared 0777 root root - -" ]; services.openssh.settings.PermitRootLogin = "yes"; diff --git a/nix/noninteractive.nix b/nix/noninteractive.nix index 54690dc..2e2d888 100644 --- a/nix/noninteractive.nix +++ b/nix/noninteractive.nix @@ -12,6 +12,7 @@ imports = [ ./zfs-minimal.nix ./no-bootloaders.nix + ./noveau-workaround.nix # reduce closure size by removing perl "${modulesPath}/profiles/perlless.nix" # FIXME: we still are left with nixos-generate-config due to nixos-install-tools diff --git a/nix/noveau-workaround.nix b/nix/noveau-workaround.nix new file mode 100644 index 0000000..5865852 --- /dev/null +++ b/nix/noveau-workaround.nix @@ -0,0 +1,4 @@ +{ + # fixes blank screen on boot for some cards + boot.kernelParams = [ "nouveau.modeset=0" ]; +}