From 4da8818d0476799a3ac6f1ea6448418698e9ba79 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 4 Feb 2026 16:36:54 +0800 Subject: [PATCH] services: Add home-noctalia-shell-service-type. * modules/rosenthal/services/desktop.scm (home-noctalia-shell-service-type): New variable. --- modules/rosenthal/services/desktop.scm | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/modules/rosenthal/services/desktop.scm b/modules/rosenthal/services/desktop.scm index 0768055..a72a50b 100644 --- a/modules/rosenthal/services/desktop.scm +++ b/modules/rosenthal/services/desktop.scm @@ -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