mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Try to disable manual powerManagement (tlp should handle that)
This commit is contained in:
+11
-11
@@ -21,17 +21,17 @@
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
powerManagement = {
|
||||
powerDownCommands = ''
|
||||
for device_wu in /sys/bus/usb/devices/*/power/wakeup; do
|
||||
echo enabled > $device_wu
|
||||
done
|
||||
${pkgs.util-linux}/bin/rfkill block bluetooth
|
||||
'';
|
||||
powerUpCommands = ''
|
||||
${pkgs.util-linux}/bin/rfkill unblock bluetooth
|
||||
'';
|
||||
};
|
||||
# powerManagement = {
|
||||
# powerDownCommands = ''
|
||||
# for device_wu in /sys/bus/usb/devices/*/power/wakeup; do
|
||||
# echo enabled > $device_wu
|
||||
# done
|
||||
# ${pkgs.util-linux}/bin/rfkill block bluetooth
|
||||
# '';
|
||||
# powerUpCommands = ''
|
||||
# ${pkgs.util-linux}/bin/rfkill unblock bluetooth
|
||||
# '';
|
||||
# };
|
||||
|
||||
services.printing.enable = true;
|
||||
security.polkit.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user