2023-08-05 22:21:37 +00:00
|
|
|
#|Modules|#
|
|
|
|
(use-modules
|
2023-08-06 02:30:22 +00:00
|
|
|
#|GNU |# (gnu)
|
|
|
|
(gnu home)
|
|
|
|
(gnu home services)
|
2023-08-26 21:16:45 +00:00
|
|
|
#|Guix |# (guix channels)
|
2023-08-06 02:30:22 +00:00
|
|
|
#|Radix|# (radix packages fonts)
|
|
|
|
(radix packages wm)
|
|
|
|
(radix home services)
|
2023-08-27 22:17:46 +00:00
|
|
|
(radix combinators)
|
2023-08-05 22:21:37 +00:00
|
|
|
(radix utils)
|
2023-08-08 02:26:32 +00:00
|
|
|
((radix files awesome) #:prefix file:awesome-)
|
|
|
|
((radix files emacs) #:prefix file:emacs-)
|
|
|
|
((radix files fish) #:prefix file:fish-)
|
|
|
|
((radix files git) #:prefix file:git-)
|
|
|
|
((radix files info) #:prefix file:info-)
|
2023-08-08 03:00:04 +00:00
|
|
|
((radix files kakoune) #:prefix file:kak-)
|
2023-08-08 02:26:32 +00:00
|
|
|
((radix files lf) #:prefix file:lf-)
|
|
|
|
((radix files mpv) #:prefix file:mpv-)
|
|
|
|
((radix files newsraft) #:prefix file:newsraft-)
|
|
|
|
((radix files zathura) #:prefix file:zathura-)
|
2023-08-27 22:07:12 +00:00
|
|
|
#|SRFI |# (srfi srfi-26))
|
2023-08-05 22:21:37 +00:00
|
|
|
|
|
|
|
(use-package-modules
|
|
|
|
#|A|# admin
|
2023-08-27 22:40:12 +00:00
|
|
|
#|B|# bittorrent
|
2023-08-05 22:21:37 +00:00
|
|
|
#|C|# c calendar
|
|
|
|
#|D|# disk
|
|
|
|
#|E|# emacs emacs-xyz
|
2023-08-27 22:40:12 +00:00
|
|
|
#|F|# file fonts freedesktop
|
2023-08-16 14:06:37 +00:00
|
|
|
#|G|# games gnome gnu-doc gnupg gnuzilla guile-xyz
|
2023-08-05 22:21:37 +00:00
|
|
|
#|I|# image-viewers
|
|
|
|
#|L|# linux
|
2023-08-08 14:47:44 +00:00
|
|
|
#|M|# messaging minetest
|
2023-08-16 14:11:28 +00:00
|
|
|
#|P|# package-management password-utils pdf pulseaudio python-xyz
|
2023-08-06 17:02:36 +00:00
|
|
|
#|S|# scheme shells ssh suckless
|
2023-08-05 22:21:37 +00:00
|
|
|
#|T|# telegram tex text-editors tor toys
|
|
|
|
#|V|# version-control video
|
|
|
|
#|W|# web-browsers wm
|
|
|
|
#|X|# xdisorg xorg)
|
|
|
|
|
|
|
|
(use-home-service-modules
|
|
|
|
#|D|# desktop
|
2023-08-26 21:16:45 +00:00
|
|
|
#|G|# gnupg guix
|
2023-08-05 22:21:37 +00:00
|
|
|
#|M|# mcron
|
|
|
|
#|S|# shells ssh shepherd
|
|
|
|
#|X|# xdg)
|
|
|
|
|
|
|
|
(home-environment
|
|
|
|
(packages
|
|
|
|
(list #|admin |# neofetch
|
|
|
|
#|bittorrent |# aria2 qbittorrent
|
|
|
|
#|c |# c-intro-and-ref
|
|
|
|
#|calendar |# remind
|
|
|
|
#|disk |# lf ;Remove if I get used to dirvish
|
2023-08-26 16:23:59 +00:00
|
|
|
#|emacs |# emacs
|
2023-08-05 22:21:37 +00:00
|
|
|
#|emacs-xyz |#
|
|
|
|
#| • completion |# emacs-cape emacs-corfu emacs-corfu-doc
|
|
|
|
emacs-consult-lsp emacs-vertico
|
|
|
|
#| • centering |# emacs-olivetti
|
|
|
|
#| • file manager |# emacs-dirvish
|
|
|
|
#| • fuzzy-finder |# emacs-orderless
|
|
|
|
#| • guile |# emacs-geiser emacs-geiser-guile
|
|
|
|
emacs-macrostep-geiser emacs-geiser-eros
|
|
|
|
#| • guix |# emacs-guix emacs-direnv
|
|
|
|
#| • haunt |# emacs-ox-haunt
|
|
|
|
#| • icons |# emacs-all-the-icons
|
|
|
|
#| • irc |# emacs-circe
|
|
|
|
#| • kakoune |# emacs-kakoune emacs-phi-search-mc emacs-ryo-modal
|
|
|
|
#| • latex |# emacs-auctex emacs-latex-preview-pane
|
|
|
|
#| • linter |# emacs-flycheck emacs-flycheck-guile
|
|
|
|
#| • maps |# emacs-osm
|
|
|
|
#| • music player |# emacs-emms
|
|
|
|
#| • org |# emacs-org-bullets emacs-org-fragtog
|
|
|
|
emacs-org-present emacs-org-roam emacs-org-modern
|
|
|
|
#| • pulsar |# emacs-pulsar
|
|
|
|
#| • rss |# emacs-elfeed emacs-elfeed-org
|
|
|
|
#| • s-expressions |# emacs-lispy emacs-rainbow-delimiters
|
|
|
|
#| • ease config |# emacs-setup
|
|
|
|
#| • typing |# emacs-typing
|
|
|
|
#| • terminal |# emacs-eat
|
2023-08-06 23:06:03 +00:00
|
|
|
#|file |# file
|
2023-08-05 22:21:37 +00:00
|
|
|
#|fonts |# font-arabic-misc font-liberation font-meslo-lg-dz
|
|
|
|
font-misc-misc font-un font-wqy-zenhei
|
|
|
|
#|freedesktop |# xdg-utils
|
|
|
|
#|games |# minetest supertuxkart xonotic
|
|
|
|
#|gnome |# adwaita-icon-theme
|
|
|
|
#|gnu-doc |# gnu-standards
|
|
|
|
#|gnupg |# gnupg pinentry
|
|
|
|
#|gnuzilla |# icecat
|
2023-08-16 16:17:06 +00:00
|
|
|
#|guile-xyz |# guile-reader guile-pfds guile-srfi-159 haunt
|
2023-08-05 22:21:37 +00:00
|
|
|
#|image-viewers |# nsxiv
|
2023-08-13 19:11:14 +00:00
|
|
|
#|linux |# alsa-utils
|
2023-08-05 22:21:37 +00:00
|
|
|
#|messaging |# toxic
|
|
|
|
#|package-management|# gwl
|
|
|
|
#|password-utils |# keepassxc
|
2023-08-13 19:11:14 +00:00
|
|
|
#|pulseaudio |# pulseaudio
|
2023-08-05 22:21:37 +00:00
|
|
|
#|pdf |# zathura zathura-pdf-mupdf zathura-pdf-poppler
|
|
|
|
zathura-djvu
|
|
|
|
#|pulseaudio |# pulseaudio pamixer pavucontrol
|
|
|
|
#|python-xyz |# python-ueberzug
|
|
|
|
#|scheme |# sicp slib
|
2023-08-06 17:02:36 +00:00
|
|
|
#|shells |# fish fish-foreign-env
|
2023-08-05 22:21:37 +00:00
|
|
|
#|ssh |# openssh
|
2023-08-09 13:51:39 +00:00
|
|
|
#|suckless |# xst
|
2023-08-05 22:21:37 +00:00
|
|
|
#|telegram |# telegram-desktop
|
|
|
|
#|tex |# texlive-amsfonts texlive-scheme-basic
|
|
|
|
texlive-beamer texlive-bibtex texlive-ec
|
|
|
|
texlive-latex-fonts texlive-graphics
|
|
|
|
texlive-float texlive-geometry texlive-minted
|
|
|
|
texlive-pdfx texlive-texinfo texlive-tools
|
|
|
|
texlive-unicode-math
|
|
|
|
#|tor |# tor
|
|
|
|
#|toys |# oneko
|
|
|
|
#|vesion-control |# git
|
|
|
|
#|video |# ffmpeg mpv yt-dlp
|
|
|
|
#|web-browsers |# nyxt
|
|
|
|
#|wm |# awesome-next
|
|
|
|
#|xdisorg |# maim redshift xbanish xclip xdotool xinit xsel
|
2023-08-08 22:53:47 +00:00
|
|
|
#|xorg |# setxkbmap xinput xf86-input-libinput xkill
|
2023-08-08 22:49:35 +00:00
|
|
|
xmodmap xorg-server xrdb xset))
|
2023-08-05 22:21:37 +00:00
|
|
|
|
|
|
|
(services
|
|
|
|
(list #|XDG services|#
|
|
|
|
(simple-service 'xdg-base-directories-service
|
|
|
|
home-xdg-base-directories-service-type
|
|
|
|
(home-xdg-base-directories-configuration
|
|
|
|
(cache-home "$HOME/.cache")
|
|
|
|
(config-home "$HOME/.config")
|
|
|
|
(data-home "$HOME/.local/share")
|
|
|
|
(runtime-dir "/run/user/1000")
|
|
|
|
(log-home "$HOME/.local/var/log")
|
|
|
|
(state-home "$HOME/.local/state")))
|
|
|
|
|
|
|
|
(simple-service 'xdg-user-directories-service
|
|
|
|
home-xdg-user-directories-service-type
|
|
|
|
(home-xdg-user-directories-configuration
|
|
|
|
(desktop "$HOME/desktop")
|
|
|
|
(documents "$HOME/documents")
|
|
|
|
(download "$HOME/.local/share/downloads")
|
|
|
|
(music "$HOME/music")
|
|
|
|
(pictures "$HOME/pictures")
|
|
|
|
(videos "$HOME/videos")
|
|
|
|
(publicshare "")
|
|
|
|
(templates "")))
|
|
|
|
|
|
|
|
(simple-service 'xdg-mime-applications-service
|
|
|
|
home-xdg-mime-applications-service-type
|
|
|
|
(home-xdg-mime-applications-configuration
|
|
|
|
(default (associate-right
|
|
|
|
('icecat.desktop
|
|
|
|
`("text/html"
|
|
|
|
"application/xhtml+xml"
|
|
|
|
"application/x-extension-htm"
|
|
|
|
"application/x-extension-xhtml"
|
|
|
|
"application/x-extension-xht"
|
|
|
|
"x-scheme-handler/http"
|
|
|
|
"x-scheme-handler/https"))
|
|
|
|
('kak.desktop
|
|
|
|
`("text/plain"
|
|
|
|
"text/troff"
|
|
|
|
"text/xml"
|
|
|
|
"text/x-c"
|
|
|
|
"text/x-c++"
|
|
|
|
"text/x-diff"
|
|
|
|
"text/x-lisp"
|
|
|
|
"text/x-scheme"
|
|
|
|
"text/x-shellscript"
|
|
|
|
"text/x-tex"))
|
|
|
|
('lf.desktop
|
|
|
|
`("inode/directory"
|
|
|
|
"x-scheme-handler/ftp"
|
|
|
|
"x-scheme-handler/nfs"
|
|
|
|
"x-scheme-handler/smb"
|
|
|
|
"x-scheme-handler/ssh"
|
|
|
|
"application/x-directory"))
|
|
|
|
('mpv.desktop
|
|
|
|
`("image/gif"
|
|
|
|
"audio/mpeg"
|
|
|
|
"audio/ogg"
|
|
|
|
"audio/opus"
|
|
|
|
"audio/x-opus+ogg"
|
|
|
|
"video/mp4"
|
|
|
|
"video/x-matroska"
|
|
|
|
"video/webm"))
|
|
|
|
('nsxiv.desktop
|
|
|
|
`("image/avif"
|
|
|
|
"image/bmp"
|
|
|
|
"image/jpeg"
|
|
|
|
"image/png"
|
|
|
|
"image/svg+xml"
|
|
|
|
"image/webp"))
|
|
|
|
('org.pwmt.zathura.desktop
|
|
|
|
`("image/vnd.djvu"
|
|
|
|
"application/pdf"
|
|
|
|
"application/epub+zip"))))))
|
|
|
|
|
2023-08-08 02:05:01 +00:00
|
|
|
(simple-service 'xdg-configuration-files-service
|
|
|
|
home-xdg-configuration-files-service-type
|
2023-08-15 10:29:14 +00:00
|
|
|
`(("awesome/rc.lua" ,file:awesome-config)
|
|
|
|
("awesome/themes/current.lua" ,file:awesome-theme)
|
|
|
|
("emacs/init.el" ,file:emacs-init)
|
|
|
|
("emacs/theme.el" ,file:emacs-theme)
|
|
|
|
("fish/fish_variables" ,file:fish-variables)
|
|
|
|
("fish/functions/fish_greeting.fish" ,file:fish-greeting)
|
|
|
|
("fish/functions/fish_prompt.fish" ,file:fish-prompt)
|
|
|
|
("git/config" ,file:git-config)
|
|
|
|
("infokeys" ,file:info-keys)
|
|
|
|
("kak/kakrc" ,file:kak-config)
|
|
|
|
("kak/autoload/colorscheme.kak" ,file:kak-colorscheme)
|
|
|
|
("lf/lfrc" ,file:lf-config)
|
|
|
|
("mpv/mpv.conf" ,file:mpv-config)
|
|
|
|
("mpv/input.conf" ,file:mpv-input)
|
|
|
|
("newsraft/config" ,file:newsraft-config)
|
|
|
|
("zathura/zathurarc" ,file:zathura-config)))
|
2023-08-06 17:02:36 +00:00
|
|
|
|
2023-08-26 21:16:45 +00:00
|
|
|
#|Guix service|#
|
|
|
|
(simple-service 'channels-service
|
|
|
|
home-channels-service-type
|
|
|
|
(list (channel
|
|
|
|
(name 'radix)
|
|
|
|
(url "https://codeberg.org/anemofilia/radix.git")
|
|
|
|
(branch "main")
|
|
|
|
(introduction
|
|
|
|
(make-channel-introduction
|
|
|
|
"85d30480a1907539855fedee6e6a02362e1895ba"
|
|
|
|
(openpgp-fingerprint
|
|
|
|
(format #f "99D0 38B0 CC2F 7356 34D0 ~
|
|
|
|
82F3 5A8F 3D62 C87A 2B33")))))))
|
|
|
|
|
2023-08-05 22:21:37 +00:00
|
|
|
#|Shepherd service|#
|
|
|
|
(service home-shepherd-service-type)
|
|
|
|
|
|
|
|
#|Shell services|#
|
2023-08-06 17:02:36 +00:00
|
|
|
(service home-fish-service-type
|
|
|
|
(home-fish-configuration
|
2023-08-26 23:32:05 +00:00
|
|
|
(config (list file:fish-abbreviations))
|
2023-08-05 22:21:37 +00:00
|
|
|
(aliases
|
|
|
|
`(#|Common aliases|#
|
|
|
|
("df" . "df -h")
|
|
|
|
("diff" . "diff --color=auto")
|
|
|
|
("grep" . "grep --color=auto")
|
|
|
|
("ip" . "ip --color=auto")
|
|
|
|
("ls" . ,(format #f "ls --color=auto ~
|
|
|
|
--group-directories-first ~
|
|
|
|
--classify ~
|
2023-08-13 11:34:15 +00:00
|
|
|
-hv"))
|
2023-08-05 22:21:37 +00:00
|
|
|
|
2023-08-06 17:37:28 +00:00
|
|
|
#|Clear terminal screen without ncurses|#
|
2023-08-06 17:55:23 +00:00
|
|
|
("clear" . "printf \"\\033c\"")
|
2023-08-06 17:37:28 +00:00
|
|
|
|
2023-08-05 22:21:37 +00:00
|
|
|
#|Make ln idempotent|#
|
|
|
|
("ln" . "ln -sfn")
|
|
|
|
|
|
|
|
#|Kakoune bindings for info|#
|
|
|
|
("info" . "info --init-file $XDG_CONFIG_HOME/infokeys")
|
|
|
|
|
|
|
|
#|Easy presentation setup with xrandr|#
|
|
|
|
("present" . ,(format #f "xrandr --output LVDS-1 ~
|
|
|
|
--mode 1366x768 ~
|
|
|
|
--scale 1x1 ~
|
|
|
|
--output VGA-1 ~
|
|
|
|
--same-as LVDS-1 ~
|
|
|
|
--mode 1920x1080 ~
|
|
|
|
--scale 0.711x0.711"))
|
|
|
|
|
|
|
|
#|Display images in lf using ueberzug|#
|
|
|
|
("lf" . "$XDG_CONFIG_HOME/lf/lfrun")
|
|
|
|
|
|
|
|
#|Listen to libre music on vern's radio|#
|
|
|
|
("radio" . "https://radio.vern.cc")
|
|
|
|
|
|
|
|
#|Kakoune aliases for the shell|#
|
|
|
|
("':e'" . "kak")
|
|
|
|
("':q'" . "exit")))))
|
|
|
|
|
|
|
|
(simple-service 'environment-variables-service
|
|
|
|
home-environment-variables-service-type
|
2023-08-06 20:49:53 +00:00
|
|
|
`(#|Shells|#
|
2023-08-05 22:21:37 +00:00
|
|
|
("HISTFILE" . "$XDG_CACHE_HOME/bash/history")
|
|
|
|
("HISTSIZE" . "-1")
|
|
|
|
("HISTFILESIZE" . "-1")
|
2023-08-08 02:34:59 +00:00
|
|
|
("PATH" . "$HOME/.local/bin:$PATH")
|
2023-08-24 20:17:01 +00:00
|
|
|
("ENV" . "$XDG_CONFIG_HOME/dash/init.sh")
|
2023-08-05 22:21:37 +00:00
|
|
|
|
|
|
|
#|Language|#
|
|
|
|
("LANG" . "en_US.UTF-8")
|
|
|
|
("LANGUAGE" . "en_US.UTF-8")
|
|
|
|
("LC_COLLATE" . "C")
|
|
|
|
|
|
|
|
#|Default applications|#
|
2023-08-06 17:31:55 +00:00
|
|
|
("BROWSER" . "icecat")
|
2023-08-05 22:21:37 +00:00
|
|
|
("EDITOR" . "kak")
|
2023-08-06 17:31:55 +00:00
|
|
|
("FCEDIT" . "kak")
|
|
|
|
("PAGER" . "less")
|
2023-08-05 22:21:37 +00:00
|
|
|
("READER" . "zathura")
|
2023-08-06 17:31:55 +00:00
|
|
|
("SHELL" . "fish")
|
2023-08-05 22:21:37 +00:00
|
|
|
("TERMINAL" . "st")
|
2023-08-06 17:31:55 +00:00
|
|
|
("VISUAL" . "kak")
|
2023-08-05 22:21:37 +00:00
|
|
|
("WM" . "awesome")
|
|
|
|
|
|
|
|
#|Xorg|#
|
|
|
|
("XINITRC" . "$XDG_CONFIG_HOME/X11/xinitrc")
|
|
|
|
|
|
|
|
#|Readline|#
|
|
|
|
("INPUTRC" . "$XDG_CONFIG_HOME/readline/inputrc")
|
|
|
|
|
|
|
|
#|GTK|#
|
|
|
|
("GTK_RC_FILES" . "$XDG_CONFIG_HOME/gtk-2.0/gtkrc")
|
|
|
|
|
|
|
|
#|Guile|#
|
2023-08-08 19:20:08 +00:00
|
|
|
("GUILE_WARN_DEPRECATED" . "detailed")
|
2023-08-05 22:21:37 +00:00
|
|
|
("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history")
|
2023-08-27 22:17:46 +00:00
|
|
|
("GUILE_LOAD_PATH" . ,((flip string-join) ":"
|
2023-08-06 03:22:07 +00:00
|
|
|
(cons "$HOME/projects/guile/radix/modules"
|
2023-08-05 22:21:37 +00:00
|
|
|
(map (cut string-append <> "/share/guile/site/3.0")
|
|
|
|
'("/run/current-system/profile"
|
|
|
|
"$XDG_CONFIG_HOME/guix/current"
|
2023-08-27 22:17:46 +00:00
|
|
|
"$HOME/.guix-home/profile")))))
|
2023-08-05 22:21:37 +00:00
|
|
|
|
|
|
|
#|GUIX|#
|
|
|
|
("GUIX_PROFILE" . "$XDG_CONFIG_HOME/guix/current")
|
|
|
|
|
|
|
|
#|Other program settings|#
|
|
|
|
("RUNLEVEL" . "3")
|
|
|
|
("TERMINFO" . "$XDG_DATA_HOME/terminfo")
|
|
|
|
("GRADLE_USER_HOME" . "$XDG_DATA_HOME/gradle")
|
|
|
|
("RUSTUP_HOME" . "$XDG_DATA_HOME/rustup")
|
|
|
|
("CARGO_HOME" . "$XDG_DATA_HOME/cargo")
|
|
|
|
("DOTREMINDERS" . "$XDG_DATA_HOME/reminders")))
|
|
|
|
|
|
|
|
(service home-openssh-service-type
|
2023-08-09 18:01:38 +00:00
|
|
|
(home-openssh-configuration
|
|
|
|
(hosts (list (openssh-host
|
|
|
|
(name "codeberg.org")
|
|
|
|
(host-name "codeberg.org")
|
|
|
|
(user "git")
|
|
|
|
(identity-file "~/.ssh/codeberg"))))
|
|
|
|
(authorized-keys #f)))
|
|
|
|
|
2023-08-09 18:11:40 +00:00
|
|
|
(service home-gpg-agent-service-type
|
|
|
|
(home-gpg-agent-configuration
|
|
|
|
(pinentry-program
|
2023-08-09 19:58:04 +00:00
|
|
|
(file-append pinentry "/bin/pinentry-curses"))))
|
2023-08-05 22:21:37 +00:00
|
|
|
|
|
|
|
#|Mcron service|#
|
|
|
|
(service home-mcron-service-type
|
|
|
|
(home-mcron-configuration
|
2023-08-14 02:19:58 +00:00
|
|
|
(jobs (list #~(job "30 5 * * *"
|
|
|
|
"mpv --shuffle music"))))))))
|