1
0
Fork 0

Configure system email integration for git

main
Ethan Reece 2024-08-06 18:17:28 -05:00
parent 8678fed7bd
commit 6797f80d0e
Signed by: me
GPG Key ID: 198E9EB433DB1B28
5 changed files with 63 additions and 2 deletions

View File

@ -0,0 +1 @@
{"email":"vaultwarden@sudoer777.dev","base_url":"https://vault.sudoer777.dev/","identity_url":null,"notifications_url":null,"lock_timeout":3600,"sync_interval":3600,"pinentry":"pinentry","client_cert_path":null}

View File

@ -0,0 +1 @@
# use-keyboxd

View File

@ -0,0 +1,5 @@
pinentry-program /gnu/store/mglbqwkdyzxqw0gfngmghr7vrkcxwkxa-pinentry-tty-1.2.1/bin/pinentry
default-cache-ttl 600
max-cache-ttl 7200
default-cache-ttl-ssh 1800
max-cache-ttl-ssh 7200

View File

@ -12,3 +12,5 @@
pinentry-mode = loopback
[init]
defaultBranch = main
[sendemail]
smtpserver = /home/sudoer777/.guix-home/profile/bin/msmtp

View File

@ -10,17 +10,46 @@
(gnu home services guix)
(gnu home services gnupg)
(gnu home services ssh)
(gnu home services mail)
(gnu home services syncthing))
(home-environment
(packages (specifications->packages (list "emacs-guix"
"emacs-geiser-guile"
"emacs-geiser"
"coreutils"
"findutils"
"util-linux"
; "shadow" - conflicts with host distro (needs Shepherd?)
"iputils"
"procps"
"psmisc"
"gzip"
"tar"
"diffutils"
"iproute2"
"ncurses"
"bzip2"
"xz"
"psmisc"
"curl"
"pinentry-tty"
"wget"
"man-db"
"mailutils"
"lsof"
"strace"
"tcpdump"
"file"
"e2fsprogs"
"guile"
"guix"
"speedtest-cli"
"emacs"
"make"
"password-store"
"pass-otp"
"rbw"
"just"
"bat"
"cups"
@ -45,7 +74,6 @@
"flatpak"
"libreoffice"
"kitty"
; "gnupg" - conflicts with host distro
"dolphin"
"keepassxc"
"htop"
@ -121,9 +149,33 @@
(local-file ".config/fish/config.fish")))))
(service home-files-service-type
`((".emacs.d/init.el" ,(local-file "./.emacs.d/init.el"))
(".gitconfig" ,(local-file "./gitconfig"))))
(".gitconfig" ,(local-file "./gitconfig"))
(".gnupg/common.conf" ,(local-file "./.gnupg/common.conf"))))
(service home-xdg-configuration-files-service-type
`(("weechat/weechat.conf" ,(local-file "./.config/weechat/weechat.conf"))
("zathura/zathurarc" ,(local-file "./.config/zathura/zathurarc"))
("rbw/config.json" ,(local-file "./.config/rbw/config.json"))
("guix/channels.scm" ,(local-file "./channels.scm.lock"))))
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry-tty "/bin/pinentry"))
(ssh-support? #t)))
(service home-msmtp-service-type
(home-msmtp-configuration
(accounts
(list
(msmtp-account
(name "default")
(configuration
(msmtp-configuration
(host "smtp.fastmail.com")
(port 465)
(auth? #t)
(user "fastmail@ethanreece.com")
(from "guix-home@ethanreece.com")
(tls? #t)
(tls-starttls? #f)
(tls-trust-file "~/.guix-home/profile/etc/ssl/certs/ca-certificates.crt")
(password-eval "pass Mail/fastmail@ethanreece.com"))))))))
(service home-symlink-manager-service-type))))