-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
powerstation: init at 0.4.0 #367781
base: master
Are you sure you want to change the base?
powerstation: init at 0.4.0 #367781
Conversation
options.services.powerstation = { | ||
enable = lib.mkEnableOption "PowerStation"; | ||
package = lib.mkPackageOption pkgs "powerstation" { }; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a UI for this already or is the user expected to set dbus stuff manually/scripted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, OpenGamepadUI (which I am also working on packaging for NixOS) provides a UI for both PowerStation and InputPlumber. Both tools are UI agnostic though, so can be used via cli, scripting, or another user interface.
236c815
to
bcc3b85
Compare
Description of changes
Adds a derivation to run PowerStation on NixOS.
PowerStation is an open source TDP (Thermal Design Power) control and performance daemon with DBus interface. It can allow a user to control the TDP of integrated GPUs (typically for handheld gaming PCs like the ROG Ally and Legion Go) and enable/disable CPU cores to greatly extend battery life at the cost of some gaming performance.
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.