aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/guix/system.scm3
1 files changed, 2 insertions, 1 deletions
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)