aboutsummaryrefslogtreecommitdiff
path: root/tw/home/lap.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-03-09 14:52:56 +0100
committerTimo Wilken2024-03-10 16:19:00 +0100
commitde20fc8d904643ffe6957febfc6a24e57c12b512 (patch)
tree8177459e40786bd432a37c5833f26350fb689356 /tw/home/lap.scm
parentda5e9d5ee98dfc216eb7e3b1559c09f4bf868bf6 (diff)
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.
Diffstat (limited to 'tw/home/lap.scm')
-rw-r--r--tw/home/lap.scm17
1 files changed, 9 insertions, 8 deletions
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