Run power-profiles-daemon by default, so the control page has profiles to offer #16

Merged
arne merged 1 commit from power-profiles into main 2026-11-06 15:20:59 +01:00
Owner

The control page's battery block offers power profiles (power-saver, balanced, performance) through powerprofilesctl (PowerProfiles.qml), but nothing in fjordxy ran the daemon. A machine without it got only "stay awake".

  • services.power-profiles-daemon.enable = mkDefault true in the desktop module. It's the same daemon GNOME and KDE ship. Switching profiles goes over D-Bus and needs no privilege.
  • On nixos-hardware laptops this turns TLP off, because their laptop profile enables TLP only when power-profiles-daemon is off.
  • A machine that enables TLP, tuned or auto-cpufreq itself must set this false, since NixOS refuses the pair. The comment says so.

Checked on black (Framework 13, nixos-hardware): power-profiles-daemon is on, TLP is off, and the system builds.

🤖 Generated with Claude Code

The control page's battery block offers power profiles (power-saver, balanced, performance) through `powerprofilesctl` (PowerProfiles.qml), but nothing in fjordxy ran the daemon. A machine without it got only "stay awake". - `services.power-profiles-daemon.enable = mkDefault true` in the desktop module. It's the same daemon GNOME and KDE ship. Switching profiles goes over D-Bus and needs no privilege. - On nixos-hardware laptops this turns TLP off, because their laptop profile enables TLP only when power-profiles-daemon is off. - A machine that enables TLP, tuned or auto-cpufreq itself must set this false, since NixOS refuses the pair. The comment says so. Checked on black (Framework 13, nixos-hardware): power-profiles-daemon is on, TLP is off, and the system builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arne merged commit bdf1f3a2bb into main 2026-11-06 15:20:59 +01:00
arne deleted branch power-profiles 2026-11-06 15:20:59 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bases/fjord!16
No description provided.