mirror of https://codeberg.org/anemofilia/zero
operating-systems: buer: Set uncompressed zram size to 2*ram, use greetd-service-type from (radix services greetd)
parent
90bbe22950
commit
44cdedfebb
|
@ -24,7 +24,7 @@
|
||||||
#|•|# #:use-module (gnu services)
|
#|•|# #:use-module (gnu services)
|
||||||
#|A|# #:use-module (gnu services admin)
|
#|A|# #:use-module (gnu services admin)
|
||||||
#:use-module (gnu services avahi)
|
#: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)
|
#|D|# #:use-module (gnu services dbus)
|
||||||
#:use-module (gnu services desktop)
|
#:use-module (gnu services desktop)
|
||||||
#|G|# #:use-module (gnu services guix)
|
#|G|# #:use-module (gnu services guix)
|
||||||
|
@ -61,6 +61,7 @@
|
||||||
|
|
||||||
#|Radix services|#
|
#|Radix services|#
|
||||||
#|A|# #:use-module (radix services admin)
|
#|A|# #:use-module (radix services admin)
|
||||||
|
#|G|# #:use-module (radix services greetd)
|
||||||
#|P|# #:use-module (radix services pm)
|
#|P|# #:use-module (radix services pm)
|
||||||
|
|
||||||
#|Radix system|#
|
#|Radix system|#
|
||||||
|
@ -181,10 +182,7 @@
|
||||||
(map (lambda (x)
|
(map (lambda (x)
|
||||||
(greetd-terminal-configuration
|
(greetd-terminal-configuration
|
||||||
(terminal-vt (number->string x))
|
(terminal-vt (number->string x))
|
||||||
(terminal-switch (= x 1))
|
(terminal-switch (= x 1))))
|
||||||
(default-session-command
|
|
||||||
(greetd-agreety-session
|
|
||||||
(command #~(getenv "SHELL"))))))
|
|
||||||
(iota 2 1)))))
|
(iota 2 1)))))
|
||||||
|
|
||||||
#|Home environment services|#
|
#|Home environment services|#
|
||||||
|
@ -289,7 +287,7 @@
|
||||||
#|Memory management services|#
|
#|Memory management services|#
|
||||||
(service zram-device-service-type
|
(service zram-device-service-type
|
||||||
(zram-device-configuration
|
(zram-device-configuration
|
||||||
(size (round/ (ram-total) 2))
|
(size (* 2 (ram-total)))
|
||||||
(compression-algorithm 'lz4)))
|
(compression-algorithm 'lz4)))
|
||||||
|
|
||||||
#|Permission services|#
|
#|Permission services|#
|
||||||
|
|
Loading…
Reference in New Issue