Skip to content

Commit

Permalink
modules/services/upower-minimal: comment out suspend patch
Browse files Browse the repository at this point in the history
I think? it’s been added to upstream, but I commented it out a while
ago and now I’m too lazy to check.
  • Loading branch information
Profpatsch committed Jan 15, 2025
1 parent 02592a4 commit b40aae3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions modules/services/upower-minimal.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ let
ini = pkgs.formats.ini {};

pkg = pkgs.upower.overrideAttrs (old: {
patches = [
# Adds a "Suspend" action to what to do when the battery is critical
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/upower/upower/-/merge_requests/11.patch";
sha256 = "sha256-y8ysD+fJIi5SZkWp2n061VBA5cs1EMftOof/h2tvDGo=";
})
];
# patches = [
# # Adds a "Suspend" action to what to do when the battery is critical
# (pkgs.fetchpatch {
# url = "https://gitlab.freedesktop.org/upower/upower/-/merge_requests/11.patch";
# sha256 = "sha256-y8ysD+fJIi5SZkWp2n061VBA5cs1EMftOof/h2tvDGo=";
# })
# ];
});

configFile = ini.generate "UPower.conf" cfg.settings;
Expand Down

0 comments on commit b40aae3

Please sign in to comment.