operating-systems: buer: Set uncompressed zram size to 2*ram, use greetd-service-type from (radix services greetd)

main
Luis Guilherme Coelho 2024-11-09 08:54:30 -03:00
parent 90bbe22950
commit 44cdedfebb
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 4 additions and 6 deletions

View File

@ -24,7 +24,7 @@
#||# #:use-module (gnu services)
#|A|# #:use-module (gnu services admin)
#:use-module (gnu services avahi)
#|B|# #:use-module (gnu services base)
#|B|# #:use-module ((gnu services base) #:hide (greetd-service-type))
#|D|# #:use-module (gnu services dbus)
#:use-module (gnu services desktop)
#|G|# #:use-module (gnu services guix)
@ -61,6 +61,7 @@
#|Radix services|#
#|A|# #:use-module (radix services admin)
#|G|# #:use-module (radix services greetd)
#|P|# #:use-module (radix services pm)
#|Radix system|#
@ -181,10 +182,7 @@
(map (lambda (x)
(greetd-terminal-configuration
(terminal-vt (number->string x))
(terminal-switch (= x 1))
(default-session-command
(greetd-agreety-session
(command #~(getenv "SHELL"))))))
(terminal-switch (= x 1))))
(iota 2 1)))))
#|Home environment services|#
@ -289,7 +287,7 @@
#|Memory management services|#
(service zram-device-service-type
(zram-device-configuration
(size (round/ (ram-total) 2))
(size (* 2 (ram-total)))
(compression-algorithm 'lz4)))
#|Permission services|#