shione/nichijou/home/nvim.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

31 lines
904 B
Scheme

(define-module (nichijou home nvim)
#:use-module (gnu home services)
#:use-module (gnu packages vim)
#:use-module (gnu services)
#:use-module (guix gexp)
#:use-module (ice-9 optargs)
#:use-module (nichijou packages vim))
(define plugins
(list vim-airline
vim-airline-themes
vim-bbye
vim-ctrlp
vim-deoplete
vim-deoplete-vim-lsp
vim-detectindent
vim-doxygen-toolkit
vim-lsp
vim-nerdtree
vim-plantuml-syntax
vim-syntastic
vim-tagbar))
(define*-public (get-packages #:key (foreign-distro? #f))
(if foreign-distro? plugins
(const neovim plugins)))
(define-public services
(list (simple-service 'nichijou-nvim-config home-files-service-type
`((".config/nvim/init.vim" ,(local-file
"config/nvim/init.vim"))))))