mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01:00
Merge pull request #1310 from Gabgobie/lenovo-ideacentre-k330
Lenovo ideacentre k330
This commit is contained in:
commit
91c1069cba
4 changed files with 38 additions and 0 deletions
|
|
@ -194,6 +194,7 @@ See code for all available configurations.
|
|||
| [Huawei Matebook X Pro (2020)](huawei/machc-wa) | `<nixos-hardware/huawei/machc-wa>` |
|
||||
| [i.MX8QuadMax Multisensory Enablement Kit](nxp/imx8qm-mek/) | `<nixos-hardware/nxp/imx8qm-mek>` |
|
||||
| [Intel NUC 8i7BEH](intel/nuc/8i7beh/) | `<nixos-hardware/intel/nuc/8i7beh>` |
|
||||
| [Lenovo IdeaCentre K330](lenovo/ideacentre/k330) | `<nixos-hardware/lenovo/ideacentre/k330>` |
|
||||
| [Lenovo IdeaPad 3 15alc6](lenovo/ideapad/15alc6) | `<nixos-hardware/lenovo/ideapad/15alc6>` |
|
||||
| [Lenovo IdeaPad Gaming 3 15arh05](lenovo/ideapad/15arh05) | `<nixos-hardware/lenovo/ideapad/15arh05>` |
|
||||
| [Lenovo IdeaPad Gaming 3 15ach6](lenovo/ideapad/15ach6) | `<nixos-hardware/lenovo/ideapad/15ach6>` |
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@
|
|||
huawei-machc-wa = import ./huawei/machc-wa;
|
||||
hp-notebook-14-df0023 = import ./hp/notebook/14-df0023;
|
||||
intel-nuc-8i7beh = import ./intel/nuc/8i7beh;
|
||||
lenovo-ideacentre-k330 = import ./lenovo/ideacentre/k330;
|
||||
lenovo-ideapad-15alc6 = import ./lenovo/ideapad/15alc6;
|
||||
lenovo-ideapad-15arh05 = import ./lenovo/ideapad/15arh05;
|
||||
lenovo-ideapad-15ach6 = import ./lenovo/ideapad/15ach6;
|
||||
|
|
|
|||
17
lenovo/ideacentre/k330/README.md
Normal file
17
lenovo/ideacentre/k330/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Lenovo IdeaCentre K330
|
||||
|
||||
The specific system I took for reference has the following hardware configuration:
|
||||
|
||||
- Intel Core i7 2600
|
||||
- NVIDIA GeForce GT 545 [Latest supported (proprietary) driver (390.xx)](https://www.nvidia.com/en-us/drivers/details/196213/)
|
||||
- Some SSD (originally had a Seagate Barracuda hard drive)
|
||||
|
||||
This hardware configuration was motivated by #1297
|
||||
|
||||
I recommend enabling xserver instead of trying to use Wayland. As documented in the above linked issue, using Wayland with this rather old hardware lead to the system freezing after a short time of operation.
|
||||
|
||||
```nix
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
}
|
||||
```
|
||||
19
lenovo/ideacentre/k330/default.nix
Normal file
19
lenovo/ideacentre/k330/default.nix
Normal 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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue