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>>
<<greeter-service>> (list
<<screen-lock-service>> <<greeter-service>>)
))) (list
<<screen-lock-service>>)
))
#+end_src #+end_src
*** Simple Services *** Simple Services

View file

@ -71,7 +71,6 @@
(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))
@ -94,6 +93,7 @@
(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))