fufexan / dotfiles

NixOS system config & Home-Manager user config
MIT License
744 stars 45 forks source link

Fix power-monitor initial run #44

Closed Neurarian closed 2 days ago

Neurarian commented 3 days ago

First of all, thank you for your amazing config! During adaptation of some parts for my own config, I noticed that the service wouldn't set the initial power profile when on AC. The if statement for the initial run would evaluate to false when on AC power, and no initial profile would be set until status change.