diff options
author | Timo Wilken | 2024-02-16 22:49:52 +0100 |
---|---|---|
committer | Timo Wilken | 2024-02-16 22:49:52 +0100 |
commit | 4a757e97b598e7b33c3bbcd11fc984dbddffddb8 (patch) | |
tree | b2ca990905376d2699e639c2e47682dcb5580f0f /tw/home/btl.scm | |
parent | 05c919d74fad22f0a2d1bcd2154bc5aba5738c94 (diff) |
Unify custom home services into tw-home-service-type
Instead of passing around lists of simple-services, create one new
configurable service-type that extends everything it needs to.
Install packages using home-profile-service-type instead of passing around
lists.
Diffstat (limited to 'tw/home/btl.scm')
-rw-r--r-- | tw/home/btl.scm | 48 |
1 files changed, 9 insertions, 39 deletions
diff --git a/tw/home/btl.scm b/tw/home/btl.scm index fe476ad9..b75a9b04 100644 --- a/tw/home/btl.scm +++ b/tw/home/btl.scm @@ -9,59 +9,31 @@ #:use-module (gnu home services) #:use-module (gnu home services desktop) #:use-module (gnu home services guix) - #:use-module (gnu home services mail) - #:use-module (gnu home services mcron) #:use-module (gnu home services pm) - #:use-module (gnu packages android) - #:use-module (gnu packages bittorrent) - #:use-module (gnu packages calendar) - #:use-module (gnu packages dav) #:use-module (gnu packages finance) - #:use-module (gnu packages gnome) - #:use-module (gnu packages mail) - #:use-module (gnu packages messaging) - #:use-module (gnu packages music) #:use-module (gnu packages networking) - #:use-module (gnu packages syndication) - #:use-module (gnu packages web-browsers) - #:use-module (gnu packages xorg) - #:use-module (gnu packages xdisorg) #:use-module (gnu services) #:use-module (guix gexp) - #:use-module ((nongnu packages messaging) - #:select (signal-desktop)) - #:use-module ((nongnu packages game-client) - #:select (steam)) #:use-module (tw home) - #:use-module (tw packages scanner) #:use-module (tw services desktop) #:use-module (tw services git) #:use-module (tw services gnupg) - #:use-module (tw services restic) - #:use-module (tw theme)) + #:use-module (tw services restic)) (define-public %btl-home (home-environment (packages ;; These packages will show up in the home profile, under ~/.guix-home/profile. - (cons* - ;; CLI tools - adb fastboot beets cmus - - ;; Graphical applications - blueman electrum nheko signal-desktop simple-scan/airscan transmission-remote-gtk - - ;; Games - steam - ;; Games are installed in ~/.guix-profile instead, to make updates of the - ;; home environment faster. - ;; 0ad flightgear freeciv simutrans/pak128 warzone2100 widelands pioneer - - (append %interactive-packages %pim-packages %common-packages))) + ;; Graphical applications + (list blueman electrum)) ;; To search for available home services, run 'guix home search KEYWORD'. (services - (cons* + (list + (service tw-home-service-type + (tw-home-configuration + (gaming? #t))) + ;; Redshift: make the screen turn redder at night. (service home-redshift-service-type (home-redshift-configuration @@ -141,8 +113,6 @@ "~/videos/youtube/.yt-dlp" "~/videos/youtube/.config")) (repo (restic-vin.wg-repo "timo/sync")) - (password (restic-pass-key "computers/vin/restic-repos/timo-sync"))))) - - (append (interactive-services) %pim-services %common-services))))) + (password (restic-pass-key "computers/vin/restic-repos/timo-sync"))))))))) %btl-home |