WIP: exclude phone from autosuspend to enable charging

Currently broken
This commit is contained in:
Patrick Großmann 2023-05-15 15:09:09 +09:00
parent b1700d728e
commit 08251edae9
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -64,7 +64,13 @@ in {
nixpkgs.config.allowUnfree = true;
services.tlp.enable = true;
services.tlp = {
enable = true;
# currently broken. Issue open at https://github.com/linrunner/TLP/issues/692
settings = {
USB_EXLUDE_PHONE = 1;
};
};
# Disable mutable Users, any option can only be set by the nix config
users.mutableUsers = false;