summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index be4fde6..28793de 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -6,6 +6,16 @@
#:use-module (gnu services)
#:use-module (guix gexp))
+(define home-files
+ `((".config/guix/shell-authorized-directories" ,(local-file "g-sh-auth-dir"))
+ (".emacs" ,(local-file "emacs.el"))
+ (".ssh/config" ,(local-file "ssh.config"))))
+
+(define dot-files-service
+ (simple-service 'dot-files
+ home-files-service-type
+ home-files))
+
(let ([config-prefix "/home/marek/src/guix-config/"])
(home-environment (packages (map (compose list
specification->package+output)
@@ -58,8 +68,4 @@
(bashrc `(,(local-file (string-append config-prefix
".bashrc")
"bashrc")))))
- ,(simple-service 'dot-files
- home-files-service-type
- `((".config/guix/shell-authorized-directories" ,(local-file "guix-shell-authorized-directories"))
- (".emacs" ,(local-file "emacs.el"))
- (".ssh/config" ,(local-file "ssh.config"))))))))
+ ,dot-files-service))))