This commit is contained in:
Daniel Ziltener 2023-12-01 14:38:40 +01:00
parent cc84af3674
commit 93233a5be1
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 33 additions and 31 deletions

View file

@ -118,11 +118,12 @@ As a sibling to the former, the variable ~%local-swap~ does the same with the sw
(delete login-service-type) (delete login-service-type)
(delete mingetty-service-type) (delete mingetty-service-type)
(delete console-font-service-type)) (delete console-font-service-type))
(concat <<root-simple-service-block>>
<<root-simple-service-block>> (list
<<greeter-service>> <<greeter-service>>)
<<screen-lock-service>> (list
))) <<screen-lock-service>>)
))
#+end_src #+end_src
*** Simple Services *** Simple Services

View file

@ -71,29 +71,29 @@
(delete login-service-type) (delete login-service-type)
(delete mingetty-service-type) (delete mingetty-service-type)
(delete console-font-service-type)) (delete console-font-service-type))
(concat (list
(list (tlp-service-type
(tlp-service-type (tlp-configuration))
(tlp-configuration)) (thermald-service-type
(thermald-service-type (thermald-configuration
(thermald-configuration (adaptive? t)))
(adaptive? t))) (bluetooth-service-type
(bluetooth-service-type (bluetooth-configuration))
(bluetooth-configuration)) (earlyoom-service-type
(earlyoom-service-type (earlyoom-configuration
(earlyoom-configuration (minimum-available-memory 5)
(minimum-available-memory 5) (minimum-free-swap 5)))
(minimum-free-swap 5))) (inputattach-service-type
(inputattach-service-type (inputattach-configuration))
(inputattach-configuration)) (libvirt-service-type
(libvirt-service-type (libvirt-configuration
(libvirt-configuration (unix-sock-group "libvirt")))
(unix-sock-group "libvirt"))) (fstrim-service-type
(fstrim-service-type (fstrim-configuration))
(fstrim-configuration)) (fprintd-service-type
(fprintd-service-type (fprintd-configuration)))
(fprintd-configuration)))
(list
(service greetd-service-type (service greetd-service-type
(greetd-configuration (greetd-configuration
(greeter-supplementary-groups (greeter-supplementary-groups
@ -108,12 +108,13 @@
(command (command
(file-append swayfx "/bin/sway"))))) (file-append swayfx "/bin/sway")))))
(greetd-terminal-configuration (greetd-terminal-configuration
(terminal-vt "8")))))) (terminal-vt "8")))))))
(list
(service screen-locker-service-type (service screen-locker-service-type
(screen-locker-configuration (screen-locker-configuration
(name "swaylock") (name "swaylock")
(program (program
(file-append swaylock-effects "/bin/swaylock")) (file-append swaylock-effects "/bin/swaylock"))
(using-setuid? #f))) (using-setuid? #f))))
))) ))
(name-service-switch %mdns-host-lookup-nss)) (name-service-switch %mdns-host-lookup-nss))