add workaround for nvidia

This commit is contained in:
Jörg Thalheim 2024-09-03 11:03:51 +02:00
parent b1e43cae8b
commit 23f987d2af
3 changed files with 7 additions and 1 deletions

View file

@ -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";

View file

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

View file

@ -0,0 +1,4 @@
{
# fixes blank screen on boot for some cards
boot.kernelParams = [ "nouveau.modeset=0" ];
}