From 1f5167d9be95139170062bb2acee433285ecaaff Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Sun, 11 Feb 2024 22:49:52 -0300 Subject: [PATCH] operating-systems: buer: Use 1/4 of the total available ram for zram --- operating-systems/buer.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/operating-systems/buer.scm b/operating-systems/buer.scm index f582fa6..19184be 100644 --- a/operating-systems/buer.scm +++ b/operating-systems/buer.scm @@ -51,6 +51,7 @@ #|Radix system|# #|S|# #:use-module (radix system setuid) + #|M|# #:use-module (radix system monitoring) #|Buer files|# #|S|# #:use-module ((buer files substitute-keys) #:prefix public-key:) @@ -80,6 +81,7 @@ "/backgrounds/guix-silver-16-9.svg")) (gfxmode `("1280x720x32")))))) + (kernel linux-libre-6.7) (kernel-arguments `("modprobe.blacklist=usbmouse,usbkbd,pcspkr" "thinkpad_acpi.fan_control=1" @@ -270,7 +272,7 @@ #|Memory management services|# (service zram-device-service-type (zram-device-configuration - (size "2G") + (size (round/ (ram-total) 4)) (compression-algorithm 'lz4))) #|Doas configuration services|#