add workaround for nvidia
This commit is contained in:
parent
b1e43cae8b
commit
23f987d2af
3 changed files with 7 additions and 1 deletions
|
@ -40,8 +40,9 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/cd-dvd/installation-cd-base.nix")
|
(modulesPath + "/installer/cd-dvd/installation-cd-base.nix")
|
||||||
../installer.nix
|
../installer.nix
|
||||||
./wifi.nix
|
../noveau-workaround.nix
|
||||||
./hidden-ssh-announcement.nix
|
./hidden-ssh-announcement.nix
|
||||||
|
./wifi.nix
|
||||||
];
|
];
|
||||||
systemd.tmpfiles.rules = [ "d /var/shared 0777 root root - -" ];
|
systemd.tmpfiles.rules = [ "d /var/shared 0777 root root - -" ];
|
||||||
services.openssh.settings.PermitRootLogin = "yes";
|
services.openssh.settings.PermitRootLogin = "yes";
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./zfs-minimal.nix
|
./zfs-minimal.nix
|
||||||
./no-bootloaders.nix
|
./no-bootloaders.nix
|
||||||
|
./noveau-workaround.nix
|
||||||
# reduce closure size by removing perl
|
# reduce closure size by removing perl
|
||||||
"${modulesPath}/profiles/perlless.nix"
|
"${modulesPath}/profiles/perlless.nix"
|
||||||
# FIXME: we still are left with nixos-generate-config due to nixos-install-tools
|
# FIXME: we still are left with nixos-generate-config due to nixos-install-tools
|
||||||
|
|
4
nix/noveau-workaround.nix
Normal file
4
nix/noveau-workaround.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
# fixes blank screen on boot for some cards
|
||||||
|
boot.kernelParams = [ "nouveau.modeset=0" ];
|
||||||
|
}
|
Loading…
Reference in a new issue