Lenovo IdeaCentre K330

This commit is contained in:
Gabgobie
2025-01-08 02:38:50 +00:00
committed by Jörg Thalheim
parent 8870dcaff6
commit 06c52bbc79
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{ config, lib, ... }:
{
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/amd # The K330 could be bought with AMD GPUs but I don't have that configuration
../../../common/pc
];
# On my machine Wayland causes the desktop to freeze after a short time of operation
services.displayManager.sddm.wayland.enable = false;
# Should this be a conditional default in case plasma is activated?
# 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");
}