From de20fc8d904643ffe6957febfc6a24e57c12b512 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 9 Mar 2024 14:52:56 +0100 Subject: Separate home service into PIM, dev env and graphical parts This means we only instantiate Shepherd and mcron services if we really need them, to avoid annoyance on servers. --- tw/home/lap.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'tw/home/lap.scm') diff --git a/tw/home/lap.scm b/tw/home/lap.scm index 958a5647..959691aa 100644 --- a/tw/home/lap.scm +++ b/tw/home/lap.scm @@ -17,6 +17,7 @@ #:use-module (guix gexp) #:use-module (tw home) #:use-module (tw services desktop) + #:use-module (tw services dev-env) #:use-module (tw services git) #:use-module (tw services gnupg) #:use-module (tw services restic)) @@ -31,11 +32,6 @@ ;; To search for available home services, run 'guix home search KEYWORD'. (services (list - (service tw-home-service-type - (tw-home-configuration - (gaming? #t) - (nvidia-driver? #t))) - ;; Batsignal: battery level notifications. (service home-batsignal-service-type (home-batsignal-configuration @@ -97,10 +93,13 @@ (service home-dbus-service-type) - (service home-blueman-service-type) + (service tw-home-service-type) - (service home-desktop-layout-service-type - (home-desktop-layout-configuration + (service home-desktop-service-type + (home-desktop-configuration + (gaming? #t) + (nvidia-driver? #t) + (bluetooth? #t) (desktop-background "~/pictures/Backgrounds/greece/IMG_20181201_104748_DRO.jpg") (battery-name "BAT0") (ac-adapter-name "AC") @@ -109,6 +108,8 @@ (name "eDP-1-1") (xrandr-options '("--auto"))))))) + (service home-full-dev-env-service-type) + ;; On my private machine, I want to use my private PGP key normally, and ;; my work key only for work repositories. (service home-git-service-type -- cgit v1.2.3