hosts/artemis: update earlyoom
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m22s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m22s
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
@@ -53,9 +54,16 @@ in
|
|||||||
extraArgs = [
|
extraArgs = [
|
||||||
"-M"
|
"-M"
|
||||||
"409600,307200"
|
"409600,307200"
|
||||||
"-S"
|
]
|
||||||
"409600,307200"
|
++ (
|
||||||
];
|
if config.swapDevices.zramSwap.enable or false then
|
||||||
|
[
|
||||||
|
"-S"
|
||||||
|
"409600,307200"
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[ ]
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
services.sunshine = {
|
services.sunshine = {
|
||||||
|
Reference in New Issue
Block a user