aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/zsh.scm
diff options
context:
space:
mode:
Diffstat (limited to 'nichijou/home/zsh.scm')
-rw-r--r--nichijou/home/zsh.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/nichijou/home/zsh.scm b/nichijou/home/zsh.scm
new file mode 100644
index 0000000..11f973c
--- /dev/null
+++ b/nichijou/home/zsh.scm
@@ -0,0 +1,20 @@
+(define-module (nichijou home zsh)
+ #:use-module (gnu home services shells)
+ #:use-module (gnu services)
+ #:use-module (gnu packages shellutils)
+ #:use-module (gnu packages terminals)
+ #:use-module (guix gexp)
+ #:use-module (ice-9 optargs))
+
+(define-public packages
+ (list zsh-syntax-highlighting zsh-autosuggestions fzf))
+
+(define-public services
+ (list (service home-zsh-service-type
+ (home-zsh-configuration (xdg-flavor? #t)
+ (zprofile (list (local-file
+ "config/zsh/zprofile")))
+ (zlogout (list (local-file
+ "config/zsh/zlogout")))
+ (zshrc (list (local-file
+ "config/zsh/zshrc")))))))