guix-config

guix system configuration/declaration
git clone git://git.eonn.xyz/guix-config.git
Log | Files | Refs | LICENSE

commit fdb2716a986f8f8fb96621899e3f82d9c9de2d4e
parent f5f011617f76d22814afaf371c34cd1c3417db4b
Author: Ian Ressa <ian@shmage.xyz>
Date:   Wed,  2 Nov 2022 19:35:54 -0400

[home] turn alternate channels into another service, since orb doesn't need nongnu

Diffstat:
Mmodules/shmage/guix/home.scm | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/modules/shmage/guix/home.scm b/modules/shmage/guix/home.scm @@ -7,6 +7,7 @@ #:use-module (guix gexp) #:use-module (gnu home services shells) #:export (home-services) + #:export (channels-service) #:export (dotfile->dotfile-pair) #:export (dotfiles)) @@ -21,6 +22,13 @@ (define-syntax-rule (dotfiles->dotfilepairs file ...) (map (lambda (n) (dotfile->dotfilepair n)) (list file ...))) +(define channels-service + (simple-service 'alternate-channels-init + home-xdg-configuration-files-service-type + (dotfiles->dotfilepairs + "guix/channels.scm" + ))) + (define home-services (list (service home-bash-service-type (home-bash-configuration @@ -66,12 +74,6 @@ "bin/session-shutdown" "bin/session-suspend" )) - - (simple-service 'alternate-channels-init - home-xdg-configuration-files-service-type - (dotfiles->dotfilepairs - "guix/channels.scm" - )) (simple-service 'xdg-config-init home-xdg-configuration-files-service-type