.
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
|
||||||
|
|
87
config.scm
87
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
|
(service greetd-service-type
|
||||||
(greetd-configuration
|
(greetd-configuration
|
||||||
(greeter-supplementary-groups
|
(greeter-supplementary-groups
|
||||||
(list "video" "input"))
|
(list "video" "input"))
|
||||||
(terminals
|
(terminals
|
||||||
(list
|
(list
|
||||||
(greetd-terminal-configuration
|
(greetd-terminal-configuration
|
||||||
(terminal-vt "7")
|
(terminal-vt "7")
|
||||||
(terminal-switch #t)
|
(terminal-switch #t)
|
||||||
(default-session-command
|
(default-session-command
|
||||||
(greetd-wlgreet-session
|
(greetd-wlgreet-session
|
||||||
(command
|
(command
|
||||||
(file-append swayfx "/bin/sway")))))
|
(file-append swayfx "/bin/sway")))))
|
||||||
(greetd-terminal-configuration
|
(greetd-terminal-configuration
|
||||||
(terminal-vt "8"))))))
|
(terminal-vt "8"))))))
|
||||||
(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))
|
||||||
|
|
Loading…
Reference in a new issue