mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 08:47:13 +08:00
ideacentr-k330: include nvidia-fermi architecture
This commit is contained in:
7
common/gpu/nvidia/fermi/default.nix
Normal file
7
common/gpu/nvidia/fermi/default.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [ ../. ];
|
||||||
|
|
||||||
|
# The open source driver does not support Fermi GPUs.
|
||||||
|
hardware.nvidia.open = false;
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/gpu/nvidia # Is it possible/advisable to pin this to the 390.xx driver family in case the user wants to use non-free drivers?
|
../../../common/gpu/nvidia/fermi # Is it possible/advisable to pin this to the 390.xx driver family in case the user wants to use non-free drivers?
|
||||||
../../../common/gpu/amd # The K330 could be bought with AMD GPUs but I don't have that configuration
|
../../../common/gpu/amd # The K330 could be bought with AMD GPUs but I don't have that configuration
|
||||||
../../../common/pc
|
../../../common/pc
|
||||||
];
|
];
|
||||||
@@ -14,6 +14,6 @@
|
|||||||
# What if somebody installs both plasma AND another DE?
|
# What if somebody installs both plasma AND another DE?
|
||||||
# The goal is to prefer x11 over wayland due to compatibility issues with the old hardware
|
# The goal is to prefer x11 over wayland due to compatibility issues with the old hardware
|
||||||
|
|
||||||
|
|
||||||
services.displayManager.defaultSession = lib.mkIf config.services.xserver.desktopManager.plasma6.enable (lib.mkDefault "plasmax11");
|
services.displayManager.defaultSession = lib.mkIf config.services.xserver.desktopManager.plasma6.enable (lib.mkDefault "plasmax11");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user