summaryrefslogtreecommitdiff
path: root/tw/home/server.scm
blob: e564c34dc0d01731d36842724443449bda5841dc (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)
  #:use-module (gnu home)
  #:use-module (gnu home services)
  #:use-module (tw home)
  #:use-module (tw theme))

(use-package-modules vim)

(home-environment
 ;; These packages will show up in the home profile, under ~/.guix-home/profile.
 (packages
  (cons* vim vim-surround common-packages))
 ;; To search for available home services, run 'guix home search KEYWORD'.
 (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)))