From ff949f78d6b04a5294ff059cf7cdce9638ea8a86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 13 May 2025 11:41:12 +0200 Subject: [PATCH] ideacentr-k330: include nvidia-fermi architecture --- common/gpu/nvidia/fermi/default.nix | 7 +++++++ lenovo/ideacentre/k330/default.nix | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 common/gpu/nvidia/fermi/default.nix diff --git a/common/gpu/nvidia/fermi/default.nix b/common/gpu/nvidia/fermi/default.nix new file mode 100644 index 00000000..0f5c47f0 --- /dev/null +++ b/common/gpu/nvidia/fermi/default.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + imports = [ ../. ]; + + # The open source driver does not support Fermi GPUs. + hardware.nvidia.open = false; +} diff --git a/lenovo/ideacentre/k330/default.nix b/lenovo/ideacentre/k330/default.nix index 381276fc..ff5cf3c4 100644 --- a/lenovo/ideacentre/k330/default.nix +++ b/lenovo/ideacentre/k330/default.nix @@ -2,7 +2,7 @@ { imports = [ ../../../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/pc ]; @@ -14,6 +14,6 @@ # 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 - + services.displayManager.defaultSession = lib.mkIf config.services.xserver.desktopManager.plasma6.enable (lib.mkDefault "plasmax11"); -} \ No newline at end of file +}