add grymforge
This commit is contained in:
parent
c5d2fbe031
commit
980f180b88
9 changed files with 423 additions and 1 deletions
12
hosts/grymforge/earlyoom.nix
Normal file
12
hosts/grymforge/earlyoom.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services.earlyoom = {
|
||||
enable = true;
|
||||
freeSwapThreshold = 2;
|
||||
freeMemThreshold = 2;
|
||||
extraArgs = [
|
||||
"-g"
|
||||
"--avoid '^(.Hyrpland-wrapp|alacritty|zerotier-one|.waybar-wrapped)$'"
|
||||
"--prefer '^(electron|libreoffice|gimp|Isolated Web Co)$'"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue