services: Add home-noctalia-shell-service-type.

* modules/rosenthal/services/desktop.scm (home-noctalia-shell-service-type):
New variable.
This commit is contained in:
Hilton Chain 2026-02-04 16:36:54 +08:00
parent cc32c7bbe0
commit 4da8818d04
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -30,6 +30,7 @@
#:use-module (gnu home services shepherd)
#:use-module (gnu home services sound)
#:use-module (rosenthal packages wm)
#:use-module (rosenthal packages xorg)
#:export (home-blueman-applet-configuration
@ -47,6 +48,8 @@
home-niri-configuration
home-niri-service-type
home-noctalia-shell-service-type
home-rofi-configuration
home-rofi-service-type
@ -283,6 +286,31 @@
"Set up configuration file for niri, a scrollable-tiling Wayland
compositor.")))
;;;
;;; Noctalia
;;;
(define %home-noctalia-shell-shepherd
(list (shepherd-service
(documentation "Start noctalia-shell.")
(provision '(noctalia-shell))
(start
#~(make-forkexec-constructor
(list #$(file-append noctalia-shell "/bin/noctalia-shell"))))
(stop #~(make-kill-destructor)))))
(define home-noctalia-shell-service-type
(service-type
(name 'noctalia-shell)
(extensions
(list (service-extension home-shepherd-service-type
(const %home-noctalia-shell-shepherd))
(service-extension home-profile-service-type
(const (list noctalia-shell)))))
(default-value #f)
(description "")))
;;;
;;; rofi