shione/nichijou/home/zsh.scm
Renken 3084d65869
home: custom packages list for foreign distros
Running on GNU/Linux Debian testing for example allows me to have access
to more up-to-date and better maintained software compared to Guix when
needed. For now, certain software will be installed through apt instead
of Guix itself such as mpd, mpv and neovim. The user will have to
manually check if Guix-installed packages are compatible with the
apt-installed ones.
2022-09-09 18:07:42 +02:00

24 lines
998 B
Scheme

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