Tom Willemse
a85ad3fddd
- Sort all use-module directives - Remove ‘gcc-toolchain’ from the installed packages because it appears that the regular emacs-next (not from a git checkout) works fine without it. - Add ‘emacs-org-roam’ and ‘emacs-vterm’ packages because they both come with C modules and installing them on-the-fly in Emacs wasn't working properly. - Add ‘fakeroot’ package because it appears to be needed now that I'm using guix-home if I want to build packages for Archlinux. This still happens when I need to install some proprietary program from the AUR. - Add an Emacs configuration service. For now this just ensures that the ‘emacs-next’ package is installed and creates a shepherd service that starts Emacs when I log in. - Change the default run dialog from ‘rofi -show run’ to ‘rofi -show drun’ to run .desktop files. This offers more control over what does and doesn't show up in the list and allows me to put only stuff in there that actually works in a graphical environment.
104 lines
3.8 KiB
Scheme
104 lines
3.8 KiB
Scheme
(define-module (oni home data config)
|
|
#:use-module (gnu home services guix)
|
|
#:use-module (gnu home services)
|
|
#:use-module (gnu home)
|
|
#:use-module (gnu packages commencement)
|
|
#:use-module (gnu packages emacs)
|
|
#:use-module (gnu packages emacs-xyz)
|
|
#:use-module (gnu packages linux)
|
|
#:use-module (gnu packages music)
|
|
#:use-module (gnu packages video)
|
|
#:use-module (gnu packages)
|
|
#:use-module (gnu services)
|
|
#:use-module (guix channels)
|
|
#:use-module (guix derivations)
|
|
#:use-module (guix gexp)
|
|
#:use-module (guix packages)
|
|
#:use-module (guix store)
|
|
#:use-module (guix transformations)
|
|
#:use-module (oni home common config)
|
|
#:use-module (oni home services dunst)
|
|
#:use-module (oni home services emacs)
|
|
#:use-module (oni home services environment)
|
|
#:use-module (oni home services kdeconnect)
|
|
#:use-module (oni home services polybar)
|
|
#:use-module (oni home services rofi)
|
|
#:use-module (oni home services syncthing)
|
|
#:use-module (oni home services zsh)
|
|
#:use-module (oni packages count-emails)
|
|
#:use-module (oni packages hlwm-run-or-raise)
|
|
#:use-module (oni packages inbox-size)
|
|
#:use-module (oni packages notmuch-collect-tasks)
|
|
#:use-module (oni packages notmuch-tag-mailinglists)
|
|
#:use-module (oni packages pick-random-wallpaper))
|
|
|
|
(define (with-master-branch package)
|
|
"Apply a transformation to PACKAGE so that it uses the master branch."
|
|
((options->transformation
|
|
`((with-branch . ,(string-append (package-name package) "=master"))))
|
|
package))
|
|
|
|
(home-environment
|
|
(packages (list mpv mpv-mpris easytag
|
|
(specification->package+output "glibc-locales")
|
|
(specification->package+output "font-fantasque-sans")
|
|
(specification->package+output "font-comic-neue")
|
|
hlwm-run-or-raise
|
|
pick-random-wallpaper
|
|
notmuch-collect-tasks
|
|
notmuch-tag-mailinglists
|
|
(inbox-size emacs-next)
|
|
count-emails
|
|
emacs-org-roam
|
|
emacs-vterm
|
|
fakeroot ; Needed for build arch packages
|
|
))
|
|
|
|
(services
|
|
(list
|
|
home-environment-service
|
|
home-rofi-default-service
|
|
home-dunst-default-service
|
|
home-redshift-service
|
|
home-xbindkeys-service
|
|
home-zsh-service
|
|
home-guile-service
|
|
home-xmodmap-service
|
|
home-openssh-service
|
|
home-kitty-service
|
|
|
|
;; This has to be the first extension because it needs to be added to the
|
|
;; configuration last.
|
|
(service home-zsh-syntax-highlighting-service-type)
|
|
(service home-zsh-autosuggestions-service-type)
|
|
|
|
(simple-service 'my-channel-service
|
|
home-channels-service-type
|
|
(list
|
|
(channel
|
|
(name 'oni)
|
|
(url "https://git.sr.ht/~ryuslash/guix-packages")
|
|
(introduction
|
|
(make-channel-introduction
|
|
"646573578b7adfbff415645fed201269076cebf6"
|
|
(openpgp-fingerprint
|
|
"061C C5C4 D936 C9A8 AECC 1A17 7D5C 407B 4350 25C1"))))
|
|
(channel
|
|
(name 'guix-gaming-games)
|
|
(url "https://gitlab.com/guix-gaming-channels/games.git")
|
|
(introduction
|
|
(make-channel-introduction
|
|
"c23d64f1b8cc086659f8781b27ab6c7314c5cca5"
|
|
(openpgp-fingerprint
|
|
"50F3 3E2E 5B0C 3D90 0424 ABE8 9BDC F497 A4BB CC7F"))))))
|
|
|
|
(service home-polybar-service-type
|
|
(home-polybar-configuration
|
|
(bar "rincewind")))
|
|
|
|
(service home-kdeconnect-service-type)
|
|
(service home-syncthing-service-type)
|
|
|
|
(service home-emacs-service-type
|
|
(home-emacs-configuration
|
|
(package emacs-next))))))
|