aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-11-14 00:38:57 -0300
committerEuAndreh <eu@euandre.org>2024-11-14 00:38:57 -0300
commiteebb51b28db4f4dcdcc894920b5d40c74b2b6141 (patch)
tree96965a8d1b2e0b3bfe1f21263a3e767c6f8e6108
parentetc/guix/home.scm: Re-add many packages trimmed in precious cleanup commit (diff)
downloaddotfiles-eebb51b28db4f4dcdcc894920b5d40c74b2b6141.tar.gz
dotfiles-eebb51b28db4f4dcdcc894920b5d40c74b2b6141.tar.xz
etc/guix/system.scm: Add sysctl config for vm/swappiness
-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)