Update home-configuration/home-configuration.scm

main
hashirama 2024-10-30 01:15:05 +00:00
parent 404098b6b8
commit 4d0e40d051
1 changed files with 179 additions and 38 deletions

View File

@ -5,12 +5,17 @@
;; See the "Replicating Guix" section in the manual.
(use-modules (gnu home)
(kisshot haskell-packages)
(radix packages)
(gnu packages file)
(ajatt packages haskell)
(radix packages image-viewers)
(gnu home services desktop)
(gnu home services gnupg)
(gnu packages)
(gnu services)
(gnu packages java)
(gnu packages mate)
(gnu packages librewolf)
(gnu packages guile-xyz)
(gnu packages haskell)
@ -66,12 +71,10 @@
(gnu packages version-control)
(gnu packages lxqt)
(gnu packages emacs)
(gnu packages haskell-xyz)
(srfi srfi-26))
(define fontconfig
'(fontconfig
(comment " Set subpixel arrangement for all fonts ")
@ -94,8 +97,9 @@
(home-environment
(packages (cons* flameshot
pinentry-gtk2
ncmpcpp
;; gd-tools
;; gd-tools
wmctrl
lf
ranger
@ -104,6 +108,7 @@
emacs-arei
;; multimonitor
xset
file
librewolf
arandr
;;
@ -114,10 +119,11 @@
nano
gimp
thunar
;;
net-tools
mcomix
atril
pinentry
;; goldendict-ng
xdg-utils
font-google-material-design-icons
gst-plugins-good-qt
@ -144,6 +150,7 @@
nyxt
sbcl-coleslaw
emacs-nyxt
pinentry-emacs
tmux
alacritty
lm-sensors
@ -192,8 +199,7 @@
xmonad
ghc
xmobar
ghc-xmonad-contrib
;;-----------------
;;-----
zstd
;; suckless-dictpopup
scrot
@ -204,27 +210,32 @@
gstreamer
pavucontrol-qt
mpv
;; N64
mupen64plus-ui-console
;;
emacs
ueberzug++
(specifications->packages
(list "steam"
"guile"
;; "ueberzug++"
"fcitx5-gtk4"
"fcitx5-qt"
"fcitx5-gtk"
"navidrome-bin"
"torbrowser"
"unrar"
"nicotine+"
"librewolf"
"zpaq"
"gimp"
"foliate"
"tor-client"
"make"
"element-desktop"
"font-apple-color-emoji"))))
(append haskell-packages-list
(list
"steam"
"guile"
;; "ueberzug++"
"fcitx5-gtk4"
"fcitx5-qt"
"fcitx5-gtk"
"navidrome-bin"
"torbrowser"
"unrar"
"nicotine+"
"librewolf"
"zpaq"
"gimp"
"foliate"
"tor-client"
"make"
"element-desktop"
"font-apple-color-emoji")))))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
@ -239,6 +250,8 @@
("ps2" . "nohup flatpak run --filesystem=/mnt/Data net.pcsx2.PCSX2 > /dev/null 2>&1 &")
("ocr" . "sudo /nix/var/nix/profiles/default/bin/manga_ocr")
("ll" . "ls -l")
("codiff" . "git diff HEAD~1 HEAD")
("pkg-build" . "guix build --check --no-grafts ")
("ls" . "ls -p --color=auto")
("run_code" . "g++ -o main main.cc -Ofast -std=c++23 -s -flto -march=native -I ~/dev/ajatt/hakurei/include/ && ./main")
("rgf" . "rg --files | rg")
@ -272,7 +285,7 @@
("GLFW_IM_MODULE"
. "ibus")
("GUILE_LOAD_PATH"
. "$HOME/dev/guix_channel/ajatt-tools-guix:$GUILE_LOAD_PATH")
. "$HOME/dev/guix_channel/ajatt-tools-guix:$HOME/src/guix-config:$GUILE_LOAD_PATH")
("XMONAD_CONFIG_DIR"
. "$HOME/.xmonad")
("GUIX_PROFILE=$HOME/.config/guix/current"
@ -284,7 +297,12 @@
(for-home
(syncthing-configuration
(user "hashirama"))))
(service home-gpg-agent-service-type
(home-gpg-agent-configuration
(pinentry-program
(file-append gpa "/bin/pinentry-gtk-2"))
(ssh-support? #t)))
(service home-xdg-mime-applications-service-type
(home-xdg-mime-applications-configuration
@ -297,6 +315,7 @@
"application/x-extension-xht"
"x-scheme-handler/http"
"x-scheme-handler/https"))
('emacs.desktop
`("text/plain"
"text/troff"
@ -316,25 +335,147 @@
"x-scheme-handler/ssh"
"application/x-directory"))
('mpv.desktop
`("image/gif"
`("application/mxf"
"application/ogg"
"application/sdp"
"application/smil"
"application/streamingmedia"
"application/vnd.apple.mpegurl"
"application/vnd.ms-asf"
"application/vnd.rn-realmedia"
"application/vnd.rn-realmedia-vbr"
"application/x-cue"
"application/x-extension-m4a"
"application/x-extension-mp4"
"application/x-matroska"
"application/x-mpegurl"
"application/x-ogg"
"application/x-ogm"
"application/x-ogm-audio"
"application/x-ogm-video"
"application/x-shorten"
"application/x-smil"
"application/x-streamingmedia"
"audio/3gpp"
"audio/3gpp2"
"audio/AMR"
"audio/aac"
"audio/ac3"
"audio/aiff"
"audio/amr-wb"
"audio/dv"
"audio/eac3"
"audio/flac"
"audio/m3u"
"audio/m4a"
"audio/mp1"
"audio/mp2"
"audio/mp3"
"audio/mp4"
"audio/mpeg"
"audio/mpeg2"
"audio/mpeg3"
"audio/mpegurl"
"audio/mpg"
"audio/musepack"
"audio/ogg"
"audio/opus"
"audio/x-opus+ogg"
"audio/flac"
"audio/rn-mpeg"
"audio/scpls"
"audio/vnd.dolby.heaac.1"
"audio/vnd.dolby.heaac.2"
"audio/vnd.dts"
"audio/vnd.dts.hd"
"audio/vnd.rn-realaudio"
"audio/vorbis"
"audio/wav"
"audio/webm"
"audio/x-aac"
"audio/x-adpcm"
"audio/x-aiff"
"audio/x-ape"
"audio/x-m4a"
"audio/x-matroska"
"audio/x-mp1"
"audio/x-mp2"
"audio/x-mp3"
"audio/x-mpegurl"
"audio/x-mpg"
"audio/x-ms-asf"
"audio/x-ms-wma"
"audio/x-musepack"
"audio/x-pls"
"audio/x-pn-au"
"audio/x-pn-realaudio"
"audio/x-pn-wav"
"audio/x-pn-windows-pcm"
"audio/x-realaudio"
"audio/x-scpls"
"audio/x-shorten"
"audio/x-tta"
"audio/x-vorbis"
"audio/x-vorbis+ogg"
"audio/x-wav"
"audio/x-wavpack"
"video/3gp"
"video/3gpp"
"video/3gpp2"
"video/avi"
"video/divx"
"video/dv"
"video/fli"
"video/flv"
"video/mkv"
"video/mp2t"
"video/mp4"
"application/octet-stream"
"video/mp2t"
"video/mp4v-es"
"video/mpeg"
"video/msvideo"
"video/ogg"
"video/quicktime"
"video/vnd.divx"
"video/vnd.mpegurl"
"video/vnd.rn-realvideo"
"video/webm"
"video/x-avi"
"video/x-flc"
"video/x-flic"
"video/x-flv"
"video/x-m4v"
"video/x-matroska"
"video/webm"))
"video/x-mpeg2"
"video/x-mpeg3"
"video/x-ms-afs"
"video/x-ms-asf"
"video/x-ms-wmv"
"video/x-ms-wmx"
"video/x-ms-wvxvideo"
"video/x-msvideo"
"video/x-ogm"
"video/x-ogm+ogg"
"video/x-theora"
"video/x-theora+ogg"))
('nsxiv.desktop
`("image/avif"
"image/bmp"
`("image/bmp"
"image/gif"
"image/jpeg"
"image/jpg"
"image/pjpeg"
"image/png"
"image/svg+xml"
"image/webp"))
('emacs.desktop
"image/tiff"
"image/x-bmp"
"image/x-pcx"
"image/x-png"
"image/x-portable-anymap"
"image/x-portable-bitmap"
"image/x-portable-graymap"
"image/x-portable-pixmap"
"image/x-tga"
"image/x-xbitmap"
"image/heif"
"image/avif"
"image/x-icon"))
('atril.desktop
`("image/vnd.djvu"))
('foliate.desktop
`("application/epub+zip"))