summaryrefslogtreecommitdiff
path: root/guix-home-config.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix-home-config.scm')
-rw-r--r--guix-home-config.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/guix-home-config.scm b/guix-home-config.scm
new file mode 100644
index 0000000..be9a235
--- /dev/null
+++ b/guix-home-config.scm
@@ -0,0 +1,33 @@
+;; Home environment definition for cashmere@antelope.
+;; Loaded by ~/guix/config.scm via (use-modules (guix-home-config)).
+;; The exported binding `home-config' is wrapped by guix-home-service-type
+;; in config.scm, so a single `guix system reconfigure' deploys both system
+;; and home.
+
+(define-module (guix-home-config)
+ #:use-module (gnu home)
+ #:use-module (gnu home services)
+ #:use-module (gnu home services shells)
+ #:use-module (gnu services)
+ #:use-module (gnu system shadow)
+ #:export (home-config))
+
+(define home-config
+ (home-environment
+ (services
+ (append
+ (list
+ ;; Uncomment the shell you wish to use for your user:
+ ;(service home-bash-service-type)
+ ;(service home-fish-service-type)
+ ;(service home-zsh-service-type)
+
+ (service home-files-service-type
+ `((".guile" ,%default-dotguile)
+ (".Xdefaults" ,%default-xdefaults)))
+
+ (service home-xdg-configuration-files-service-type
+ `(("gdb/gdbinit" ,%default-gdbinit)
+ ("nano/nanorc" ,%default-nanorc))))
+
+ %base-home-services))))