(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 ;; 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)))) %server-home