Skip to content

Commit

Permalink
earlyoom: breaking change fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 5, 2025
1 parent aca0cdc commit c2e9925
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/nixos/services/earlyoom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ in
in
[
"-g" # kill all processes within a process group
"--avoid '^(${appsToAvoid})$'" # things we want to not kill
"--prefer '^(${appsToPrefer})$'" # things we want to kill as soon as possible
"--avoid"
"'^(${appsToAvoid})$'" # things we want to not kill
"--prefer"
"'^(${appsToPrefer})$'" # things we want to kill as soon as possible
];

killHook = pkgs.writeShellScript "earlyoom-kill-hook" ''
Expand Down

0 comments on commit c2e9925

Please sign in to comment.