guix-config

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

commit 164a8b90bea11db713197badc029f727c58f041a
parent be770a329ee6e71a96358218fbd96860af4c6d7c
Author: Ian Ressa <ian@eonn.xyz>
Date:   Wed, 19 Oct 2022 18:06:39 -0400

[Guix Home] letting (local-file)s have #recursive? #t so they can retain executable permissions

Diffstat:
Mmodules/shmage/guix/dotfiles.scm | 22+++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/modules/shmage/guix/dotfiles.scm b/modules/shmage/guix/dotfiles.scm @@ -16,7 +16,7 @@ (let ((l (string->list file))) (if (char=? #\. (car l)) (list->string (cdr l)) file))) (define-syntax-rule (dotfile->dotfilepair dotfile) - (list dotfile (local-file (string-append "/home/ian/guix-config/dotfiles/" (undotify-dotfile dotfile))))) + (list dotfile (local-file (string-append "/home/ian/guix-config/dotfiles/" (undotify-dotfile dotfile)) #:recursive? #t))) (define-syntax-rule (dotfiles->dotfilepairs file ...) (map (lambda (n) (dotfile->dotfilepair n)) (list file ...))) @@ -48,14 +48,6 @@ ;;;; Themes ".emacs.d/themes/wizard-theme.el" - ;; Scripts - "bin/guix-reconfigure.sh" - "bin/guix-update-profiles.sh" - "bin/lockscreen.sh" - "bin/session-reboot" - "bin/session-shutdown" - "bin/session-suspend" - ;;misc HOME/.files ".Xresources" ".tmux.conf" @@ -63,6 +55,18 @@ ".gtkrc-2.0" ".icons/default/index.theme" )) + + (simple-service 'scripts-init + home-files-service-type + (dotfiles->dotfilepairs + "bin/guix-reconfigure.sh" + "bin/guix-update-profiles.sh" + "bin/lockscreen.sh" + "bin/session-reboot" + "bin/session-shutdown" + "bin/session-suspend" + )) + (simple-service 'xdg-config-init home-xdg-configuration-files-service-type