non-open cuda on pascal

This commit is contained in:
Peder Bergebakken Sundt 2024-11-15 04:49:41 +01:00
parent eac4b42dad
commit af45e6919c
2 changed files with 8 additions and 7 deletions

View File

@ -8,17 +8,14 @@
"riscv64-linux" "riscv64-linux"
]; ];
/** /
services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "pbsds";
# tmp: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
#boot.kernelPackages = pkgs.linuxPackages_latest; #boot.kernelPackages = pkgs.linuxPackages_latest;
#hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest; #hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.latest;
#hardware.nvidia.modesetting.enable = false; # makes atom behave, but mpv refuses to start #hardware.nvidia.modesetting.enable = false; # makes atom behave, but mpv refuses to start
# The open source driver does not support Pascal GPUs (1080)
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/nvidia/pascal/default.nix
hardware.nvidia.open = false;
# PRIME: (lspci) # PRIME: (lspci)
#hardware.nvidia.prime.intelBusId = "PCI:0:02:0"; #hardware.nvidia.prime.intelBusId = "PCI:0:02:0";
#hardware.nvidia.prime.nvidiaBusId = "PCI:1:00:0"; #hardware.nvidia.prime.nvidiaBusId = "PCI:1:00:0";

View File

@ -17,6 +17,10 @@
#hardware.nvidia.modesetting.enable = false; # makes atom behave, but mpv refuses to start #hardware.nvidia.modesetting.enable = false; # makes atom behave, but mpv refuses to start
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta; hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
# The open source driver does not support Pascal GPUs (1080)
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/nvidia/pascal/default.nix
hardware.nvidia.open = false;
# PRIME: (lspci) # PRIME: (lspci)
#hardware.nvidia.prime.intelBusId = "PCI:0:02:0"; #hardware.nvidia.prime.intelBusId = "PCI:0:02:0";
#hardware.nvidia.prime.nvidiaBusId = "PCI:1:00:0"; #hardware.nvidia.prime.nvidiaBusId = "PCI:1:00:0";