aboutsummaryrefslogtreecommitdiffstats
path: root/nichijou/home/zsh.scm
blob: fc1518610aa88984658be467fd3e6942576cba1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(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 packages
  (list zsh-syntax-highlighting zsh-autosuggestions fzf))

(define*-public (get-packages #:key (foreign-distro? #f))
  (if foreign-distro?
      (list) packages))

(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")))))))