1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-09 20:49:40 +01:00

malibal/aon/s1: Add initial intel-only support.

This commit is contained in:
Dietrich Daroch 2024-08-21 14:00:38 -07:00 committed by mergify[bot]
parent 04a1cda0c1
commit aac7c50858
3 changed files with 113 additions and 0 deletions

View file

@ -224,6 +224,7 @@
lenovo-yoga-7-14ARH7-nvidia = import ./lenovo/yoga/7/14ARH7/nvidia;
lenovo-yoga-7-slim-gen8 = import ./lenovo/yoga/7/slim/gen8;
letsnote-cf-lx4 = import ./panasonic/letsnote/cf-lx4;
malibal-aon-s1-intel = import ./malibal/aon/s1;
microchip-icicle-kit = import ./microchip/icicle-kit;
microsoft-surface-go = import ./microsoft/surface/surface-go;
microsoft-surface-pro-intel = import ./microsoft/surface/surface-pro-intel;

View file

@ -0,0 +1,79 @@
= Malibal Aon S1 =
== Tested Hardware ==
* CPU: Intel(R) Core(TM) i7-13700H CPU @ 2.4GHz
* RAM: 32 GB
* HDD: 2 TiB SSD
* Screen: 14" WQXGA+ (2880x1800)
* Graphics: Intel Raptor Lake-P [Iris Xe Graphics]. nVidia graphics disabled preemptively.
* Display: Wayland.
* Input: trackpad
== Firmware Configuration ==
No tweaking to get a useful system, but some is needed.
- Sleeping doesn't work properly and overheats the system.
- Fans spin even when the system is at almost no load and CPUs report 30°C-35°C
== Installation ==
=== Before installation ===
I don't recall what I did very well, probably just disabled secure boot as
there's no nice and meaningful way of using it yet.
=== After installation ===
=== Optional ===
* Run fwupd
== Troubleshooting ==
== Annoyances ==
=== It's easy to tap the power button ===
It's better to ignore short tapping the power button,
```nix
services = {
logind = {
if options.hardware.ignorePowerButtonTap
extraConfig = ''
# Dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
};
};
```
== Broken Functionality ==
=== Sleeping works, but overheats the machine ===
This drains battery faster than keeping the machine on and it might get you backpack really warm.
Best workaround I found so far is to increase the time to take an action, and use shutdown as the action.
This is *not* a reasonable workaround for most.
```nix
services = {
logind = {
if options.hardware.ignorePowerButtonTap
extraConfig = ''
# Shutdown until sleep/hibernate works
IdleAction=poweroff
# Ideal case (hibernation onto / isn't working for me, but probably works with a swap partition)
# When idle, sleep, but hibernate if it's been too long.
# IdleAction=hybrid-sleep
'';
};
};
```
I'm hoping that suspend-then-hibernate will make this a non-issue in practice, but haven't spent time on it.

View file

@ -0,0 +1,33 @@
{ pkgs, lib, ... }:
{
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/gpu/nvidia/disable.nix
];
boot = {
kernelParams = [
"mem_sleep_default=deep"
"i915.fastboot=1"
];
kernelModules = [
"coretemp"
];
};
powerManagement = {
powertop.enable = lib.mkDefault true;
};
services = {
fwupd = {
enable = lib.mkDefault true;
};
};
}