This commit is contained in:
Daniel Ziltener 2023-12-08 14:50:54 +01:00
parent 223f3ed6b1
commit 1e41a02aa6
Signed by: zilti
GPG key ID: B38976E82C9DAE42
5 changed files with 209 additions and 107 deletions

7
home/fuzzel/fuzzel.ini Normal file
View file

@ -0,0 +1,7 @@
[main]
fields=filename,name,generic,exec
filter-desktop=false
layer=overlay
show-actions=true
terminal=kitty
width=100

53
home/git/config Normal file
View file

@ -0,0 +1,53 @@
[commit]
gpgSign = true
[core]
pager = "diff-so-fancy | less '--tabs=4' '-RFX'"
[diff-so-fancy]
changeHunkIndicators = true
markEmptyLines = true
stripLeadingSymbols = true
useUnicodeRuler = true
[gpg]
program = "gpg2"
[interactive]
diffFilter = "diff-so-fancy --patch"
[pull]
rebase = true
[push]
autoSetupRemote = true
[rebase]
autoStash = true
[sendemail]
smtpencryption = "starttls"
smtpserver = "lyrion.ch"
smtpserverport = 465
smtpuser = "dziltener"
[sendemail "LMail"]
from = "dziltener@lyrion.ch"
smtpEncryption = "tls"
smtpServer = "lyrion.ch"
smtpUser = "dziltener"
[sendemail "RedSky"]
from = "dz@redsky.io"
smtpEncryption = "ssl"
smtpServer = "smtp.gmail.com"
smtpServerPort = 465
smtpUser = "dz@redsky.io"
[tag]
gpgSign = true
[user]
email = "dziltener@lyrion.ch"
name = "Daniel Ziltener"
signingKey = "37F655BAF43BC0FF300A91A1B38976E82C9DAE42"

View file

@ -34,6 +34,7 @@
"direnv" "direnv"
"emacs" "emacs"
"emacs-direnv" "emacs-direnv"
"diff-so-fancy"
"fuzzel" "fuzzel"
"gammastep" "gammastep"
"guile" "guile"
@ -55,110 +56,113 @@
"wlogout"))) "wlogout")))
;; Below is the list of Home services. To search for available ;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal. ;; services, run 'guix home search KEYWORD' in a terminal.
(services (
(list services
(service home-shepherd-service-type) (list
(service home-msmtp-service-type (service home-shepherd-service-type)
(home-msmtp-configuration (service home-msmtp-service-type
(accounts (home-msmtp-configuration
(list (accounts
(msmtp-account (list
(name "LMail") (msmtp-account
(configuration (name "LMail")
(msmtp-configuration (configuration
(host "lyrion.ch") (msmtp-configuration
(port 587) (host "lyrion.ch")
(user "dziltener") (port 587)
(password-eval "pass Privat/Mailaccount | head -n 1")))) (user "dziltener")
(msmtp-account (password-eval "pass Privat/Mailaccount | head -n 1"))))
(name "Red Sky") (msmtp-account
(configuration (name "Red Sky")
(msmtp-configuration (configuration
(host "gmail.com") (msmtp-configuration
(port 587) (host "gmail.com")
(user "dz@redsky.io") (port 587)
(password-eval "pass Privat/RedSkyGMail")))))))) (user "dz@redsky.io")
(simple-service 'ziltis-environment-variable-service (password-eval "pass Privat/RedSkyGMail"))))))))
home-environment-variables-service-type (simple-service 'ziltis-environment-variable-service
`(("PATH" . "$PATH:~/.local/bin") home-environment-variables-service-type
("PASSWORD_STORE_DIR" . "$XDG_DATA_HOME/password-store") `(("PATH" . "$PATH:~/.local/bin")
("SSH_ASKPASS" . "ksshaskpass") ("PASSWORD_STORE_DIR" . "$XDG_DATA_HOME/password-store")
("ELM_DISPLAY" . "wl") ("SSH_ASKPASS" . "ksshaskpass")
("SDL_VIDEODRIVER" . "wayland") ("ELM_DISPLAY" . "wl")
("MOZ_ENABLE_WAYLAND" . "1") ("SDL_VIDEODRIVER" . "wayland")
("SSL_CERT_FILE" . "$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt") ("MOZ_ENABLE_WAYLAND" . "1")
("CHICKEN_DOC_REPOSITORY" . "$XDG_DATA_HOME/chicken/doc") ("SSL_CERT_FILE" . "$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt")
("CHICKEN_INSTALL_REPOSITORY" . "$XDG_DATA_HOME/chicken/eggs") ("CHICKEN_DOC_REPOSITORY" . "$XDG_DATA_HOME/chicken/doc")
("CHICKEN_REPOSITORY_PATH" . "$HOME/.guix-home/profile/var/lib/chicken/11/:$XDG_DATA_HOME/chicken/eggs") ("CHICKEN_INSTALL_REPOSITORY" . "$XDG_DATA_HOME/chicken/eggs")
("CHICKEN_INSTALL_PREFIX" . "$HOME/.local"))) ("CHICKEN_REPOSITORY_PATH" . "$HOME/.guix-home/profile/var/lib/chicken/11/:$XDG_DATA_HOME/chicken/eggs")
(simple-service 'ziltis-home-files-service ("CHICKEN_INSTALL_PREFIX" . "$HOME/.local")))
home-files-service-type (simple-service 'ziltis-home-files-service
`(#;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf")))) home-files-service-type
(simple-service 'ziltis-xdg-configuration-files-service `(#;(".gnupg/gpg-agent.conf" ,(local-file "gnupg/gpg-agent.conf"))))
home-xdg-configuration-files-service-type (simple-service 'ziltis-xdg-configuration-files-service
`(("sway/config" ,(local-file "./sway/sway")) home-xdg-configuration-files-service-type
("waybar/config" ,(local-file "./waybar/config")) `(("sway/config" ,(local-file "./sway/sway"))
("waybar/style.css" ,(local-file "./waybar/style.css")) ("waybar/config" ,(local-file "./waybar/config"))
("emacs/init.el" ,(local-file "./emacs/init.el")) ("waybar/style.css" ,(local-file "./waybar/style.css"))
("emacs/init.org" ,(local-file "./emacs/init.org")) ("fuzzel/fuzzel.ini" ,(local-file "./fuzzel/fuzzel.ini"))
("emacs/templates" ,(local-file "./emacs/templates")) ("git/config" ,(local-file "./git/config"))
("kitty/kitty.conf" ,(local-file "./kitty/kitty.conf")) ("emacs/init.el" ,(local-file "./emacs/init.el"))
("senpai/senpai.scfg" ,(local-file "./senpai/senpai.scfg")))) ("emacs/init.org" ,(local-file "./emacs/init.org"))
(service home-bash-service-type ("emacs/templates" ,(local-file "./emacs/templates"))
(home-bash-configuration ("kitty/kitty.conf" ,(local-file "./kitty/kitty.conf"))
(aliases ("senpai/senpai.scfg" ,(local-file "./senpai/senpai.scfg"))))
'(("hh" . "hstr") (service home-bash-service-type
("l" . "ls -alh") (home-bash-configuration
("ll" . "ls -l") (aliases
("ls" . "ls --color=tty"))) '(("hh" . "hstr")
(bashrc ("l" . "ls -alh")
(list ("ll" . "ls -l")
(local-file ("ls" . "ls --color=tty")))
"./.bashrc" (bashrc
"bashrc"))) (list
(bash-profile (local-file
(list "./.bashrc"
(local-file "bashrc")))
"./.bash_profile" (bash-profile
"bash_profile"))))) (list
(service home-batsignal-service-type (local-file
(home-batsignal-configuration "./.bash_profile"
(ignore-missing? #t))) "bash_profile")))))
(service home-mcron-service-type (service home-batsignal-service-type
(home-mcron-configuration (home-batsignal-configuration
(jobs (ignore-missing? #t)))
'()))) (service home-mcron-service-type
(simple-service 'ziltis-channels (home-mcron-configuration
home-channels-service-type (jobs
(list '())))
(channel (simple-service 'ziltis-channels
(name 'ziltis-channel) home-channels-service-type
(url "https://gitea.lyrion.ch/zilti/guixchannel")) (list
(channel (channel
(name 'nongnu-guix) (name 'ziltis-channel)
(url "https://gitlab.com/nonguix/nonguix")))) (url "https://gitea.lyrion.ch/zilti/guixchannel"))
(service home-openssh-service-type (channel
(home-openssh-configuration (name 'nongnu-guix)
(hosts (url "https://gitlab.com/nonguix/nonguix"))))
(list (service home-openssh-service-type
(openssh-host (home-openssh-configuration
(name "www.opencode.net") (hosts
(host-name "www.opencode.net") (list
(user "git") (openssh-host
(identity-file "~/.ssh/personal_ed")) (name "www.opencode.net")
(openssh-host (host-name "www.opencode.net")
(name "gitea.lyrion.ch") (user "git")
(host-name "gitea.lyrion.ch") (identity-file "~/.ssh/personal_ed"))
(user "git") (openssh-host
(port 7920) (name "gitea.lyrion.ch")
(identity-file "~/.ssh/personal_ed")))))) (host-name "gitea.lyrion.ch")
(service home-gpg-agent-service-type (user "git")
(home-gpg-agent-configuration (port 7920)
(pinentry-program (identity-file "~/.ssh/personal_ed"))))))
(file-append pinentry-qt "/bin/pinentry-qt")) (service home-gpg-agent-service-type
(ssh-support? #t) (home-gpg-agent-configuration
(default-cache-ttl 7200) (pinentry-program
(default-cache-ttl-ssh 7200) (file-append pinentry-qt "/bin/pinentry-qt"))
(extra-content "grab\nallow-emacs-pinentry\nallow-loopback-pinentry"))) (ssh-support? #t)
(service home-dbus-service-type) (default-cache-ttl 7200)
))) (default-cache-ttl-ssh 7200)
(extra-content "grab\nallow-emacs-pinentry\nallow-loopback-pinentry")))
(service home-dbus-service-type)
)))

7
home/swaylock/config Normal file
View file

@ -0,0 +1,7 @@
clock
effect-blur=7x5
effect-vignette=0.5:0.5
fade-in=3
grace=3
indicator-idle-visible
screenshots

31
home/tmux/tmux.conf Normal file
View file

@ -0,0 +1,31 @@
# ============================================= #
# Start with defaults from the Sensible plugin #
# --------------------------------------------- #
# FIXME: port the plugin to guix, then fix path
run-shell /share/tmux-plugins/sensible/sensible.tmux
# ============================================= #
set -g default-terminal "screen"
set -g base-index 0
setw -g pane-base-index 0
set -g status-keys emacs
set -g mode-keys emacs
set -g mouse on
setw -g aggressive-resize off
setw -g clock-mode-style 12
set -s escape-time 500
set -g history-limit 2000
set-option -sa terminal-overrides ",xterm*:Tc"