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