home.scm: Move various config files to be managed with guix-home instead of stow

* .guix/rekahsoft/guix-config/home.scm (%home): Manage the following application
configurations via guix instead of stow:
- alacritty
- git attributes and config
- kitty
- ledger
- nyxt
- rofi (and rofi-pass)
- tmux
- wofi
- zathura
- mbsync (isync)
- racket
- guile
- ghci
- zsh
- guix (channel configuration)
This commit is contained in:
Collin J. Doering 2022-10-10 07:55:10 -04:00
parent aa6cf04922
commit ba8978dd5b
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 66 additions and 8 deletions

View File

@ -3,6 +3,7 @@
#:use-module (gnu packages)
#:use-module (gnu services)
#:use-module (guix profiles)
#:use-module (guix channels)
#:use-module (guix transformations)
#:use-module (guix gexp)
#:use-module (gnu packages tls)
@ -10,8 +11,10 @@
#:use-module (guix packages)
#:use-module (guix build-system trivial)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu home services)
#:use-module (gnu home services shells)
#:use-module (gnu home services desktop)
#:use-module (gnu home services guix)
#:use-module (nongnu packages mozilla)
#:use-module (rekahsoft-gnu packages haskell-apps)
#:use-module (rekahsoft-gnu packages emacs-xyz)
@ -471,13 +474,68 @@ single certifcate used for local development with caddy.")
("si" . "sudo -i"))))
(environment-variables '(("PS1" . "[\\u@\\h \\W]\\$ ")))))
(service home-zsh-service-type
(home-zsh-configuration
(zshenv (list (local-file "../../../user-config/zsh/.zshenv" "zshenv")))
(zprofile (list (local-file "../../../user-config/zsh/.zprofile" "zprofile")))
(zshrc (list (local-file "../../../user-config/zsh/.zshrc" "zshrc")))))
(simple-service
'extra-xdg-configuration-files-service
home-xdg-configuration-files-service-type
`(("alacritty/alacritty.yml" ,(local-file "../../../user-config/alacritty/.config/alacritty/alacritty.yml"))
("git/attributes" ,(local-file "../../../user-config/git/.config/git/attributes"))
("git/config" ,(local-file "../../../user-config/git/.gitconfig" "gitconfig"))
("kitty/kitty.conf" ,(local-file "../../../user-config/kitty/.config/kitty/kitty.conf"))
("kitty/session.conf" ,(local-file "../../../user-config/kitty/.config/kitty/session.conf"))
("ledger/ledgerrc" ,(local-file "../../../user-config/ledger/.ledgerrc" "ledgerrc"))
("nyxt/init.lisp" ,(local-file "../../../user-config/nyxt/.config/nyxt/init.lisp"))
("rofi-pass/config" ,(local-file "../../../user-config/rofi-pass/.config/rofi-pass/config"))
("rofi/config.rasi" ,(local-file "../../../user-config/rofi/.config/rofi/config.rasi"))
("tmux/.tmux.conf" ,(local-file "../../../user-config/tmux/.tmux.conf" "tmux.conf"))
("wofi/style.css" ,(local-file "../../../user-config/wofi/.config/wofi/style.css"))
("zathura/zathurarc" ,(local-file "../../../user-config/zathura/.config/zathura/zathurarc"))))
(simple-service
'extra-home-files-service
home-files-service-type
`((".mbsyncrc" ,(local-file "../../../user-config/mbsync/.mbsyncrc" "mbsyncrc"))
(".racketrc" ,(local-file "../../../user-config/racket/.racketrc" "racketrc"))
(".guile" ,(local-file "../../../user-config/guile/.guile" "guilerc"))
(".ghci" ,(local-file "../../../user-config/haskell/.ghci" "ghci"))))
(simple-service
'custom-guix-channels-service
home-channels-service-type
(list
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(branch "master")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'rekahsoft-guix)
(url "https://git.rekahsoft.ca/rekahsoft/rekahsoft-guix.git")
(branch "master")
(introduction
(make-channel-introduction
"d910ac4ca1e1a115934b10921bc23f50bd481043"
(openpgp-fingerprint
"F8D5 46F3 AF37 EF53 D1B6 48BE 7B4D EB93 212B 3022"))))
(channel
(name 'rekahsoft-dotfiles)
(url "https://git.home.rekahsoft.ca/rekahsoft-public/dotfiles.git")
(branch "master")
(introduction
(make-channel-introduction
"32b8ebec9a503b9796fda0a8ac3eb11eec744397"
(openpgp-fingerprint
"F8D5 46F3 AF37 EF53 D1B6 48BE 7B4D EB93 212B 3022"))))))
(service home-redshift-service-type
(home-redshift-configuration
(location-provider 'geoclue2)))
;; (service home-zsh-configuration
;; (zshenv (list ...))
;; (zprofile (list ...))
;; (zshrc (list ...)))
))))
(location-provider 'geoclue2)))))))