1
0
Fork 0

Compare commits

..

3 Commits

Author SHA1 Message Date
Ethan Reece 6797f80d0e
Configure system email integration for git 2024-08-06 18:17:28 -05:00
Ethan Reece 8678fed7bd
Add git:send-email 2024-08-04 16:37:25 -05:00
Ethan Reece 73cbe658b1
Add function for mobile hotspot 2024-08-04 16:33:43 -05:00
6 changed files with 74 additions and 6 deletions

View File

@ -12,10 +12,6 @@ end
set -x GPG_TTY (tty)
set -x EDITOR /usr/bin/hx
set -x VISUAL /usr/bin/hx
set -Ua fish_user_paths /home/sudoer777/.config/guix/current/bin/
set -x GUIX_HOME /home/sudoer777/.guix-home/profile
@ -32,6 +28,11 @@ set -x SSL_CERT_FILE $GUIX_HOME/etc/ssl/certs/ca-certificates.crt
set -x GIT_SSL_CAINFO $SSL_CERT_FILE
set -x EDITOR $GUIX_HOME/bin/hx
set -x VISUAL $GUIX_HOME/bin/hx
alias ls='exa'
function home-reconfig
@ -48,4 +49,8 @@ function home-update
just update
end
function hotspot
sudo sysctl net.ipv4.ip_default_ttl=65
end
fish_add_path -g

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,16 +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"
@ -35,6 +65,7 @@
; "waybar" - conflicts with host distro
"pijul"
"git"
"git:send-email"
"starship"
; "hyprland" - conflicts with host distro
; "inkscape" - libcamera broken
@ -43,7 +74,6 @@
"flatpak"
"libreoffice"
"kitty"
; "gnupg" - conflicts with host distro
"dolphin"
"keepassxc"
"htop"
@ -119,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))))