From eebb51b28db4f4dcdcc894920b5d40c74b2b6141 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 14 Nov 2024 00:38:57 -0300 Subject: etc/guix/system.scm: Add sysctl config for vm/swappiness --- etc/guix/system.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/guix/system.scm b/etc/guix/system.scm index f209402..3df7191 100644 --- a/etc/guix/system.scm +++ b/etc/guix/system.scm @@ -231,7 +231,8 @@ Seiko Epson Color Ink Jet Printers.") (settings (append (sysctl-configuration-settings config) - '(("kernel/core_pattern" . "/var/crash/core-%t-%e-%p-%s-%u-%g")))))) + '(("vm/swappiness" . "100") ;; chorume: this should be calculated based on (RAM size)/(swap size) ration + ("kernel/core_pattern" . "/var/crash/core-%t-%e-%p-%s-%u-%g")))))) (rottlog-service-type config => (rottlog-configuration (inherit config) -- cgit v1.2.3