2022-10-13 22:06:14 +02:00
|
|
|
(define-module (oni home config rincewind)
|
2022-09-23 07:57:15 +02:00
|
|
|
#:use-module (gnu home services guix)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (gnu home services)
|
|
|
|
#:use-module (gnu home)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (gnu packages commencement)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (gnu packages emacs)
|
|
|
|
#:use-module (gnu packages emacs-xyz)
|
2022-11-08 05:16:19 +01:00
|
|
|
#:use-module (gnu packages file-systems)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu packages music)
|
|
|
|
#:use-module (gnu packages video)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (gnu packages wm)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (gnu packages)
|
2022-09-23 07:57:15 +02:00
|
|
|
#:use-module (gnu services)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (guix channels)
|
|
|
|
#:use-module (guix derivations)
|
2022-09-23 07:57:15 +02:00
|
|
|
#:use-module (guix gexp)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (guix packages)
|
2022-09-23 07:57:15 +02:00
|
|
|
#:use-module (guix store)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (guix transformations)
|
2022-10-13 22:06:14 +02:00
|
|
|
#:use-module (oni home config common)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni home services dunst)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (oni home services emacs)
|
|
|
|
#:use-module (oni home services environment)
|
2022-10-07 08:21:43 +02:00
|
|
|
#:use-module (oni home services flameshot)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni home services kdeconnect)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home services mpd)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (oni home services polybar)
|
|
|
|
#:use-module (oni home services rofi)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni home services syncthing)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (oni home services zsh)
|
|
|
|
#:use-module (oni packages count-emails)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni packages emacs)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni packages hlwm-run-or-raise)
|
2022-10-05 08:19:34 +02:00
|
|
|
#:use-module (oni packages inbox-size)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni packages mpd-random-albums)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni packages notmuch-collect-tasks)
|
|
|
|
#:use-module (oni packages notmuch-tag-mailinglists)
|
2022-10-14 05:45:32 +02:00
|
|
|
#:use-module (oni packages pick-random-wallpaper)
|
2022-11-08 05:16:19 +01:00
|
|
|
#:use-module (oni packages shutdown-rofi)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni packages emacs-outli)
|
2022-11-08 05:16:19 +01:00
|
|
|
#:use-module (oop goops))
|
2022-09-27 01:05:48 +02:00
|
|
|
|
|
|
|
(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))
|
2022-09-23 07:57:15 +02:00
|
|
|
|
|
|
|
(home-environment
|
2022-10-05 08:19:34 +02:00
|
|
|
(packages (list mpv mpv-mpris easytag
|
2022-09-27 01:05:48 +02:00
|
|
|
(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)
|
2022-10-05 08:19:34 +02:00
|
|
|
count-emails
|
2022-10-14 05:45:32 +02:00
|
|
|
shutdown-rofi
|
2022-10-05 08:19:34 +02:00
|
|
|
emacs-org-roam
|
|
|
|
emacs-vterm
|
|
|
|
fakeroot ; Needed for build arch packages
|
2022-11-08 05:16:19 +01:00
|
|
|
tmsu
|
|
|
|
mpd-random-albums
|
2023-03-06 19:19:33 +01:00
|
|
|
emacs-inkplate
|
|
|
|
emacs-outli
|
|
|
|
emacs-litable
|
|
|
|
stumpwm))
|
2022-09-23 07:57:15 +02:00
|
|
|
|
|
|
|
(services
|
|
|
|
(list
|
|
|
|
home-environment-service
|
|
|
|
home-rofi-default-service
|
2022-09-27 01:05:48 +02:00
|
|
|
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)
|
2022-09-23 07:57:15 +02:00
|
|
|
|
|
|
|
(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
|
2022-09-27 01:05:48 +02:00
|
|
|
"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)
|
2022-10-05 08:19:34 +02:00
|
|
|
(service home-syncthing-service-type)
|
|
|
|
|
|
|
|
(service home-emacs-service-type
|
|
|
|
(home-emacs-configuration
|
2022-10-07 08:21:43 +02:00
|
|
|
(package emacs-next)))
|
|
|
|
|
2022-11-08 05:16:19 +01:00
|
|
|
(service home-flameshot-service-type)
|
|
|
|
|
|
|
|
(service home-mpd-service-type
|
|
|
|
(home-mpd-configuration
|
|
|
|
(music-directory "~/music")
|
|
|
|
(playlist-directory "~/music/playlists")
|
|
|
|
(log-file "~/.local/share/mpd/mpd.log")
|
|
|
|
(pid-file "~/.local/share/mpd/mpd.pid")
|
|
|
|
(db-file "~/.local/share/mpd/mpd.db")
|
|
|
|
(state-file "~/.local/share/mpd/mpdstate")
|
|
|
|
(audio-outputs
|
|
|
|
(list (make <home-mpd-audio-output> #:type "pulse" #:name "MPD Pulse")
|
|
|
|
(make <home-mpd-audio-output>
|
|
|
|
#:type "fifo"
|
|
|
|
#:name "Visualizer"
|
|
|
|
#:path "/tmp/mpd.fifo"
|
2022-11-08 06:46:07 +01:00
|
|
|
#:format "44100:16:2")))))
|
|
|
|
(service home-mpc-update-service-type))))
|