Use package specifications instead of modules

This commit is contained in:
Leonora Tindall 2024-08-19 08:52:07 -05:00
parent 994d62dc56
commit 576f15876c
1 changed files with 30 additions and 29 deletions

View File

@ -3,16 +3,12 @@
(gnu home)
(gnu packages)
(gnu services)
(gnu packages admin)
(gnu packages kde-internet)
(gnu packages shellutils)
(gnu packages terminals)
(gnu packages vim)
(gnu packages version-control)
(gnu packages rust-apps)
(gnu packages ncurses)
(gnu packages irc)
(waggle packages messaging)
(atuin-bin)
(gnu home services)
(gnu home services syncthing)
@ -21,36 +17,41 @@
(gnu home services shells))
(home-environment
(packages
(list
htop
liquidprompt
vim-full
vim-ctrlp
vim-scheme
vim-rainbow
vim-paredit
vim-guix-vim
fzf
fzf-tab
firefox
git
ripgrep
git-delta
ncurses
fd
quassel
atuin-bin
gajim-next
))
(packages (specifications->packages
'(
"htop"
"liquidprompt"
"vim-full"
"vim-ctrlp"
"vim-scheme"
"vim-rainbow"
"vim-paredit"
"vim-guix-vim"
"fzf"
"fzf-tab"
"firefox"
"git"
"ripgrep"
"git-delta"
"ncurses"
"fd"
"quassel"
"atuin-bin"
"gajim@1.9.2"
)))
(services
(list
(simple-service 'flatpak-data-dir home-environment-variables-service-type
`(("XDG_DATA_DIRS" . ,(string-append "/var/lib/flatpak/exports/share:" (getenv "XDG_DATA_DIRS")))))
(simple-service 'data-dir home-environment-variables-service-type
`(("XDG_DATA_DIRS" .
,(string-append
"/home/nora/.config/guix/current/share/:/var/lib/flatpak/exports/share:"
(getenv "XDG_DATA_DIRS")))))
(service home-zsh-service-type (home-zsh-configuration
(environment-variables
`(("EDITOR" . ,(file-append vim "/bin/vim"))))
`(
("EDITOR" . ,(file-append vim "/bin/vim"))
))
(zshrc (list
(mixed-text-file "basic-config"
"autoload -Uz compinit promptinit; compinit; promptinit\n"