.
This commit is contained in:
parent
03c6561f9d
commit
cc84af3674
2 changed files with 50 additions and 48 deletions
|
@ -118,10 +118,11 @@ 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))
|
||||||
<<root-simple-service-block>>
|
(concat
|
||||||
<<greeter-service>>
|
<<root-simple-service-block>>
|
||||||
<<screen-lock-service>>
|
<<greeter-service>>
|
||||||
))
|
<<screen-lock-service>>
|
||||||
|
)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Simple Services
|
*** Simple Services
|
||||||
|
|
89
config.scm
89
config.scm
|
@ -71,48 +71,49 @@
|
||||||
(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))
|
||||||
(list
|
(concat
|
||||||
(tlp-service-type
|
(list
|
||||||
(tlp-configuration))
|
(tlp-service-type
|
||||||
(thermald-service-type
|
(tlp-configuration))
|
||||||
(thermald-configuration
|
(thermald-service-type
|
||||||
(adaptive? t)))
|
(thermald-configuration
|
||||||
(bluetooth-service-type
|
(adaptive? t)))
|
||||||
(bluetooth-configuration))
|
(bluetooth-service-type
|
||||||
(earlyoom-service-type
|
(bluetooth-configuration))
|
||||||
(earlyoom-configuration
|
(earlyoom-service-type
|
||||||
(minimum-available-memory 5)
|
(earlyoom-configuration
|
||||||
(minimum-free-swap 5)))
|
(minimum-available-memory 5)
|
||||||
(inputattach-service-type
|
(minimum-free-swap 5)))
|
||||||
(inputattach-configuration))
|
(inputattach-service-type
|
||||||
(libvirt-service-type
|
(inputattach-configuration))
|
||||||
(libvirt-configuration
|
(libvirt-service-type
|
||||||
(unix-sock-group "libvirt")))
|
(libvirt-configuration
|
||||||
(fstrim-service-type
|
(unix-sock-group "libvirt")))
|
||||||
(fstrim-configuration))
|
(fstrim-service-type
|
||||||
(fprintd-service-type
|
(fstrim-configuration))
|
||||||
(fprintd-configuration)))
|
(fprintd-service-type
|
||||||
|
(fprintd-configuration)))
|
||||||
(service greetd-service-type
|
|
||||||
(greetd-configuration
|
(service greetd-service-type
|
||||||
(greeter-supplementary-groups
|
(greetd-configuration
|
||||||
(list "video" "input"))
|
(greeter-supplementary-groups
|
||||||
(terminals
|
(list "video" "input"))
|
||||||
(list
|
(terminals
|
||||||
(greetd-terminal-configuration
|
(list
|
||||||
(terminal-vt "7")
|
(greetd-terminal-configuration
|
||||||
(terminal-switch #t)
|
(terminal-vt "7")
|
||||||
(default-session-command
|
(terminal-switch #t)
|
||||||
(greetd-wlgreet-session
|
(default-session-command
|
||||||
(command
|
(greetd-wlgreet-session
|
||||||
(file-append swayfx "/bin/sway")))))
|
(command
|
||||||
(greetd-terminal-configuration
|
(file-append swayfx "/bin/sway")))))
|
||||||
(terminal-vt "8"))))))
|
(greetd-terminal-configuration
|
||||||
(service screen-locker-service-type
|
(terminal-vt "8"))))))
|
||||||
(screen-locker-configuration
|
(service screen-locker-service-type
|
||||||
(name "swaylock")
|
(screen-locker-configuration
|
||||||
(program
|
(name "swaylock")
|
||||||
(file-append swaylock-effects "/bin/swaylock"))
|
(program
|
||||||
(using-setuid? #f)))
|
(file-append swaylock-effects "/bin/swaylock"))
|
||||||
))
|
(using-setuid? #f)))
|
||||||
|
)))
|
||||||
(name-service-switch %mdns-host-lookup-nss))
|
(name-service-switch %mdns-host-lookup-nss))
|
||||||
|
|
Loading…
Reference in a new issue