operating-systems: buer: Use 1/4 of the total available ram for zram
parent
636c05a168
commit
1f5167d9be
|
@ -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|#
|
||||
|
|
Loading…
Reference in New Issue