aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/zsh.scm
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2022-09-07 16:25:36 +0200
committerRenken <renken@shione.net>2022-09-07 16:28:45 +0200
commit4495ee1d3d66fc993fbb844897b7e9342a8aab24 (patch)
tree65169ce78571bf4cee576c08d2645514d6ecf295 /nichijou/home/zsh.scm
parent2bfb36d80ce586f0ea51a72414f56863af8ff134 (diff)
downloadshione-4495ee1d3d66fc993fbb844897b7e9342a8aab24.tar.gz
shione-4495ee1d3d66fc993fbb844897b7e9342a8aab24.zip
home: configure zsh
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")))))))