blob: 4a6267f8498a0d9aec614f7bf7e6b5582a0fe4a4 (
about) (
plain)
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 (tw home server)
#:use-module (gnu home)
#:use-module (gnu home services)
#:use-module (gnu packages vim)
#:use-module (gnu services)
#:use-module (guix gexp)
#:use-module (tw home)
#:use-module (tw theme))
(define-public %server-home
(home-environment
;; Install vim as an editor. Neovim might be better, but doesn't have an
;; equivalent to `vim-surround' packaged.
(packages (cons* vim vim-surround %common-packages))
(services
(cons*
(simple-service 'vim-config home-files-service-type
`((".vim/vimrc" ,(local-file "files/vimrc"))
(".vim/catppuccin.vim" ,catppuccin-vim)))
(simple-service 'vim-is-editor home-environment-variables-service-type
'(("EDITOR" . "vim"))) ; we define no ASYNC_EDITOR
%common-services))))
%server-home
|