s0mePC-nix: init
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
918f893bf2
commit
be4f7798f9
71 changed files with 1200 additions and 116 deletions
14
s0meMiniPC-nix/systemd/slices/system-slice.nix
Normal file
14
s0meMiniPC-nix/systemd/slices/system-slice.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{...}: {
|
||||
systemd = {
|
||||
slices = {
|
||||
system = {
|
||||
sliceConfig = {
|
||||
ManagedOOMSwap = "kill";
|
||||
ManagedOOMMemoryPressure = "kill";
|
||||
ManagedOOMMemoryPressureLimit = "40%";
|
||||
ManagedOOMMemoryPressureDurationSec = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue