mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-03-12 12:54:25 +00:00
services: Add home-bb-auth-service-type.
* modules/rosenthal/services/desktop.scm (home-bb-auth-service-type): New variable.
This commit is contained in:
parent
ea9ece2941
commit
6f64117e14
@ -44,6 +44,7 @@
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages wm)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (rosenthal packages authentication)
|
||||
#:use-module (rosenthal packages wm)
|
||||
#:export (home-blueman-applet-configuration
|
||||
home-blueman-applet-service-type
|
||||
@ -63,6 +64,7 @@
|
||||
home-noctalia-shell-configuration
|
||||
home-noctalia-shell-service-type
|
||||
|
||||
home-bb-auth-service-type
|
||||
home-polkit-gnome-service-type
|
||||
|
||||
home-rofi-configuration
|
||||
@ -353,6 +355,28 @@ compositor.")))
|
||||
(default-value (home-noctalia-shell-configuration))
|
||||
(description "")))
|
||||
|
||||
|
||||
;;;
|
||||
;;; bb-auth
|
||||
;;;
|
||||
|
||||
(define (%home-bb-auth-shepherd _)
|
||||
(list (shepherd-service
|
||||
(provision '(bb-auth))
|
||||
(start
|
||||
#~(make-forkexec-constructor
|
||||
(list #$(file-append bb-auth "/libexec/bb-auth") "--daemon")))
|
||||
(stop #~(make-kill-destructor)))))
|
||||
|
||||
(define home-bb-auth-service-type
|
||||
(service-type
|
||||
(name 'home-bb-auth)
|
||||
(extensions
|
||||
(list (service-extension home-shepherd-service-type
|
||||
%home-bb-auth-shepherd)))
|
||||
(default-value #f)
|
||||
(description "Run @command{bb-auth} daemon.")))
|
||||
|
||||
|
||||
;;;
|
||||
;;; polkit-gnome
|
||||
|
||||
Loading…
Reference in New Issue
Block a user