Compare commits

...
2 Commits
Author SHA1 Message Date
Lumpiasty 61c113dcd0 fix acer suspend 2026-06-09 02:31:49 +02:00
Lumpiasty 5c8f6f23bd enable undervolt settings and expose 8080 2026-06-09 02:08:47 +02:00
+8 -5
View File
@@ -100,6 +100,8 @@ rec {
# For dev vm stuff
networking.firewall.trustedInterfaces = [ "br0" ];
# Local LLaMA.cpp server
networking.firewall.allowedTCPPorts = [ 8080 ];
# Battery driver
boot.extraModulePackages = [
@@ -114,14 +116,15 @@ rec {
];
boot.kernelModules = [ "acer-wmi-ext" ];
# Breaks sleep, not enabling for now
# # Installs ryzenadj + ryzen_smu kernel module for manual undervolt experiments.
# # Does not auto-apply any tuning yet.
# lumpiasty.acerUndervolt = true;
boot.initrd.kernelModules = [ "amdgpu" "thunderbolt" ];
boot.kernelParams = [
# https://community.frame.work/t/attn-critical-bugs-in-amdgpu-driver-included-with-kernel-6-18-x-6-19-x/79221
"amdgpu.cwsr_enable=0"
# # https://community.frame.work/t/attn-critical-bugs-in-amdgpu-driver-included-with-kernel-6-18-x-6-19-x/79221
# "amdgpu.cwsr_enable=0"
# Increase GPU memory limits
"ttm.pages_limit=7864320" # 30GB in pages (30 * 1024 * 1024 * 1024 / 4096)
@@ -130,8 +133,8 @@ rec {
"amdttm.page_pool_size=7864320"
];
programs.corectrl.enable = true;
hardware.amdgpu.overdrive.enable = true;
# programs.corectrl.enable = true;
# hardware.amdgpu.overdrive.enable = true;
fonts = {
fontconfig = {