guixconfig/home/home-configuration.scm

110 lines
3.8 KiB
Scheme
Raw Normal View History

2023-11-28 21:38:47 +00:00
;; -*- mode: guix-scheme -*-
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile. This is "symbolic": it only
;; specifies package names. To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.
2023-11-28 22:52:59 +00:00
(use-modules
(gnu packages)
2023-11-28 22:57:58 +00:00
(gnu packages gnupg)
2023-11-28 22:52:59 +00:00
(gnu services)
(guix gexp)
2023-11-28 22:57:35 +00:00
(guix channels)
2023-11-28 22:57:58 +00:00
(gnu home)
2023-11-28 22:56:18 +00:00
(gnu home services)
2023-11-28 22:58:39 +00:00
(gnu home services desktop)
2023-11-28 22:56:47 +00:00
(gnu home services dict)
2023-11-28 22:52:59 +00:00
(gnu home services gnupg)
2023-11-28 22:57:18 +00:00
(gnu home services guix)
2023-11-28 22:55:15 +00:00
(gnu home services mail)
2023-11-28 22:52:59 +00:00
(gnu home services mcron)
(gnu home services pm)
(gnu home services shells)
(gnu home services shepherd)
(gnu home services ssh))
2023-11-28 21:38:47 +00:00
(home-environment
2023-11-28 22:52:59 +00:00
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
2023-11-28 21:38:47 +00:00
(packages
(specifications->packages
2023-11-28 22:53:59 +00:00
(list "pinentry-qt")))
2023-11-28 22:52:59 +00:00
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list
(service home-msmtp-service-type
(home-msmtp-configuration
(accounts
(list
(msmtp-account
(name "LMail")
(configuration
(msmtp-configuration
(host "lyrion.ch")
(port 587)
(user "dziltener")
(password-eval "pass Privat/Mailaccount | head -n 1"))))
(msmtp-account
(name "Red Sky")
(configuration
(msmtp-configuration
(host "gmail.com")
(port 587)
(user "dz@redsky.io")
(password-eval "pass Privat/RedSkyGMail"))))))))
(simple-service 'ziltis-environment-variable-service
2023-11-28 22:55:40 +00:00
home-environment-variables-service-type
2023-11-28 22:52:59 +00:00
`(("PASSWORD_STORE_DIR" . "$XDG_DATA_HOME/password-store")
("SSH_ASKPASS" . "ksshaskpass")))
(service home-bash-service-type
(home-bash-configuration
(aliases
'(("hh" . "hstr")
("l" . "ls -alh")
("ll" . "ls -l")
("ls" . "ls --color=tty")))
(bashrc
(list
(local-file
2023-11-28 23:03:14 +00:00
"/home/zilti/guixconfig/home/.bashrc"
2023-11-28 22:52:59 +00:00
"bashrc")))
(bash-profile
(list
(local-file
2023-11-28 23:03:14 +00:00
"/home/zilti/guixconfig/home/.bash_profile"
2023-11-28 22:52:59 +00:00
"bash_profile")))))
(service home-dicod-service-type)
(service home-batsignal-service-type)
(service home-shepherd-service-type)
(service home-mcron-service-type
(home-mcron-configuration
(jobs
'())))
(simple-service 'ziltis-channels
home-channels-service-type
(list
(channel
(name 'ziltis-channel)
(url "https://gitea.lyrion.ch/zilti/guixchannel.git"))))
(service home-openssh-service-type
(home-openssh-configuration
(hosts
(list
(openssh-host
(name "gitea.lyrion.ch")
(host-name "gitea.lyrion.ch")
(user "git")
(port 7920))))))
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append pinentry-qt "/bin/pinentry-qt"))
(ssh-support? #t)
(default-cache-ttl 7200)
(default-cache-ttl-ssh 7200)
(extra-content "allow-emacs-pinentry\nallow-loopback-pinentry")))
(service home-dbus-service-type)
)))