diff --git a/mkosi.extra/etc/tuned/ppd.conf b/mkosi.extra/etc/tuned/ppd.conf new file mode 100644 index 0000000..31e2743 --- /dev/null +++ b/mkosi.extra/etc/tuned/ppd.conf @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +default=balanced +battery_detection=true +sysfs_acpi_monitor=true + +[profiles] +power-saver=kde-linux-power-saver +balanced=kde-linux-balanced +performance=kde-linux-performance + +[battery] +balanced=kde-linux-balanced-battery +power-saver=kde-linux-power-saver-battery diff --git a/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced-battery/tuned.conf b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced-battery/tuned.conf new file mode 100644 index 0000000..e857ce7 --- /dev/null +++ b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced-battery/tuned.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +summary=KDE Linux balanced profile for battery power +include=balanced-battery + +[sysfs] +/sys/module/pcie_aspm/parameters/policy=powersave diff --git a/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced/tuned.conf b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced/tuned.conf new file mode 100644 index 0000000..12a91a1 --- /dev/null +++ b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-balanced/tuned.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +summary=KDE Linux balanced profile +include=balanced + +[sysfs] +/sys/module/pcie_aspm/parameters/policy=default diff --git a/mkosi.extra/usr/lib/tuned/profiles/kde-linux-performance/tuned.conf b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-performance/tuned.conf new file mode 100644 index 0000000..ddf71c5 --- /dev/null +++ b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-performance/tuned.conf @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +summary=KDE Linux performance profile +include=balanced + +[cpu] +governor=performance +energy_perf_bias=performance +energy_performance_preference=performance +min_perf_pct=100 +boost=1 + +[acpi] +platform_profile=performance + +[scsi_host] +alpm=max_performance + +[sysfs] +/sys/module/pcie_aspm/parameters/policy=performance diff --git a/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver-battery/tuned.conf b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver-battery/tuned.conf new file mode 100644 index 0000000..32b3236 --- /dev/null +++ b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver-battery/tuned.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +summary=KDE Linux power saver profile for battery power +include=kde-linux-power-saver + +[sysfs] +/sys/module/pcie_aspm/parameters/policy=powersupersave diff --git a/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver/tuned.conf b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver/tuned.conf new file mode 100644 index 0000000..0e753af --- /dev/null +++ b/mkosi.extra/usr/lib/tuned/profiles/kde-linux-power-saver/tuned.conf @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL +# SPDX-FileCopyrightText: 2026 Thomas Duckworth + +[main] +summary=KDE Linux power saver profile +include=powersave + +[sysfs] +/sys/module/pcie_aspm/parameters/policy=powersave