From c6e5efefa3ae3bd7b61bd66d1b031309543f5668 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 25 Dec 2024 16:48:24 +0100 Subject: desktop: use use-service/package-modules --- desktop.scm | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/desktop.scm b/desktop.scm index 5d5e457..1a7f2e0 100644 --- a/desktop.scm +++ b/desktop.scm @@ -1,23 +1,12 @@ (use-modules (gnu) (srfi srfi-1) ((gnu packages linux) #:prefix gnu-linux:) - (gnu packages admin) - (gnu packages certs) - (gnu packages freedesktop) - (gnu packages linux) - (gnu packages ssh) - (gnu packages vim) - (gnu packages wm) - (gnu packages wget) - (gnu packages xdisorg) - (gnu packages xorg) - (gnu packages video) - (gnu packages virtualization) - (gnu services virtualization) - (gnu services pm) (nongnu packages linux) (nongnu system linux-initrd)) +(use-package-modules admin certs freedesktop linux ssh vim wm wget xdisorg xorg + video virtualization) +(use-service-modules desktop networking ssh xorg pm sddm virtualization) ;; Keyboard layout (define us-keyboard-for-bootloader-and-linux (keyboard-layout "us")) @@ -27,8 +16,6 @@ "grp:alt_space_toggle" "lv3:ralt_switch"))) -;; My services -(use-service-modules desktop networking ssh xorg) (define my-services (list (udev-rules-service 'light gnu-linux:light) -- cgit v1.2.3