add syncthing service
parent
ce62ec59cc
commit
46e4068e1a
|
@ -8,6 +8,8 @@
|
||||||
(gnu packages)
|
(gnu packages)
|
||||||
(gnu services)
|
(gnu services)
|
||||||
(gnu packages haskell)
|
(gnu packages haskell)
|
||||||
|
(gnu home services syncthing)
|
||||||
|
(gnu packages syncthing)
|
||||||
(guix gexp)
|
(guix gexp)
|
||||||
(radix utils)
|
(radix utils)
|
||||||
(gnu home services)
|
(gnu home services)
|
||||||
|
@ -65,255 +67,259 @@
|
||||||
(edit ((name "hinting") (mode "assign"))
|
(edit ((name "hinting") (mode "assign"))
|
||||||
(bool "true")))
|
(bool "true")))
|
||||||
|
|
||||||
(comment " Alias for Motomachi font ")
|
(comment " Alias for Motomachi font ")
|
||||||
(alias ((family "sans-serif")
|
(alias ((family "sans-serif")
|
||||||
(prefer (family "Motomachi")))))))
|
(prefer (family "Motomachi")))))))
|
||||||
|
|
||||||
(home-environment
|
(home-environment
|
||||||
(packages (cons* flameshot
|
(packages (cons* flameshot
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
;; gd-tools
|
;; gd-tools
|
||||||
wmctrl
|
wmctrl
|
||||||
lf
|
lf
|
||||||
ranger
|
ranger
|
||||||
emacs-org-roam
|
emacs-org-roam
|
||||||
;;
|
;;
|
||||||
;;
|
;;
|
||||||
;;
|
;;
|
||||||
;; sselp
|
;; sselp
|
||||||
nano
|
syncthing
|
||||||
thunar
|
nano
|
||||||
mcomix
|
thunar
|
||||||
pinentry
|
mcomix
|
||||||
;; goldendict-ng
|
pinentry
|
||||||
xdg-utils
|
;; goldendict-ng
|
||||||
font-google-material-design-icons
|
xdg-utils
|
||||||
gst-plugins-good-qt
|
font-google-material-design-icons
|
||||||
;;unrar
|
gst-plugins-good-qt
|
||||||
qtmultimedia
|
;;unrar
|
||||||
sylpheed
|
qtmultimedia
|
||||||
;; xpad-module
|
sylpheed
|
||||||
unzip
|
;; xpad-module
|
||||||
zip
|
unzip
|
||||||
emacs-esxml
|
zip
|
||||||
html-xml-utils
|
emacs-esxml
|
||||||
emacs-rainbow-delimiters
|
html-xml-utils
|
||||||
aria2
|
emacs-rainbow-delimiters
|
||||||
xdg-desktop-portal
|
aria2
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal
|
||||||
gnupg
|
xdg-desktop-portal-gtk
|
||||||
xprop
|
gnupg
|
||||||
;;nicotine+
|
xprop
|
||||||
yt-dlp
|
;;nicotine+
|
||||||
higan
|
yt-dlp
|
||||||
nyxt
|
higan
|
||||||
emacs-nyxt
|
nyxt
|
||||||
tmux
|
emacs-nyxt
|
||||||
alacritty
|
tmux
|
||||||
lm-sensors
|
alacritty
|
||||||
;; anki
|
lm-sensors
|
||||||
emacs-olivetti
|
;; anki
|
||||||
|
emacs-olivetti
|
||||||
;; foliate
|
;; foliate
|
||||||
emacs-slime
|
emacs-slime
|
||||||
python
|
python
|
||||||
xrdb
|
xrdb
|
||||||
dbus
|
dbus
|
||||||
;; steam
|
;; steam
|
||||||
;; make
|
;; make
|
||||||
p7zip
|
p7zip
|
||||||
cmake
|
cmake
|
||||||
;;
|
;;
|
||||||
emacs-dirvish
|
emacs-dirvish
|
||||||
readline
|
readline
|
||||||
curl
|
curl
|
||||||
qpdfview
|
qpdfview
|
||||||
xclip
|
xclip
|
||||||
emacs-nerd-icons
|
emacs-nerd-icons
|
||||||
emacs-telega
|
emacs-telega
|
||||||
htop
|
htop
|
||||||
cl-clx
|
cl-clx
|
||||||
neofetch
|
neofetch
|
||||||
kitty
|
kitty
|
||||||
sbcl-stumpwm-ttf-fonts
|
sbcl-stumpwm-ttf-fonts
|
||||||
cl-clx-truetype
|
cl-clx-truetype
|
||||||
picom
|
picom
|
||||||
feh
|
feh
|
||||||
xmodmap
|
xmodmap
|
||||||
rofi
|
rofi
|
||||||
sbcl
|
sbcl
|
||||||
stumpwm `(,stumpwm "lib")
|
stumpwm `(,stumpwm "lib")
|
||||||
emacs-stumpwm-mode
|
emacs-stumpwm-mode
|
||||||
sbcl-stumpwm-net
|
sbcl-stumpwm-net
|
||||||
sbcl-stumpwm-cpu
|
sbcl-stumpwm-cpu
|
||||||
sbcl-stumpwm-mem
|
sbcl-stumpwm-mem
|
||||||
sbcl-stumpwm-disk
|
sbcl-stumpwm-disk
|
||||||
sbcl-stumpwm-screenshot
|
sbcl-stumpwm-screenshot
|
||||||
sbcl-stumpwm-pamixer
|
sbcl-stumpwm-pamixer
|
||||||
sbcl-clx
|
sbcl-clx
|
||||||
sbcl-stumpwm-swm-gaps
|
sbcl-stumpwm-swm-gaps
|
||||||
cmus
|
cmus
|
||||||
;; xmonad
|
;; xmonad
|
||||||
xmonad
|
xmonad
|
||||||
ghc
|
ghc
|
||||||
xmobar
|
xmobar
|
||||||
ghc-xmonad-contrib
|
ghc-xmonad-contrib
|
||||||
;;-----------------
|
;;-----------------
|
||||||
zstd
|
zstd
|
||||||
;; suckless-dictpopup
|
;; suckless-dictpopup
|
||||||
scrot
|
scrot
|
||||||
cl-css
|
cl-css
|
||||||
git
|
git
|
||||||
gst-plugins-good
|
gst-plugins-good
|
||||||
gst-plugins-bad
|
gst-plugins-bad
|
||||||
gstreamer
|
gstreamer
|
||||||
pavucontrol-qt
|
pavucontrol-qt
|
||||||
mpv
|
mpv
|
||||||
emacs
|
emacs
|
||||||
(specifications->packages
|
(specifications->packages
|
||||||
(list "steam"
|
(list "steam"
|
||||||
"guile"
|
"guile"
|
||||||
"ueberzug++"
|
"ueberzug++"
|
||||||
"fcitx5-gtk4"
|
"fcitx5-gtk4"
|
||||||
"fcitx5-qt"
|
"fcitx5-qt"
|
||||||
"ungoogled-chromium"
|
"ungoogled-chromium"
|
||||||
"fcitx5-gtk"
|
"fcitx5-gtk"
|
||||||
"unrar"
|
"unrar"
|
||||||
"nicotine+"
|
"nicotine+"
|
||||||
"foliate"
|
"foliate"
|
||||||
"make"
|
"make"
|
||||||
"element-desktop"
|
"element-desktop"
|
||||||
"font-apple-color-emoji"))))
|
"font-apple-color-emoji"))))
|
||||||
|
|
||||||
;; Below is the list of Home services. To search for available
|
;; Below is the list of Home services. To search for available
|
||||||
;; services, run 'guix home search KEYWORD' in a terminal.
|
;; services, run 'guix home search KEYWORD' in a terminal.
|
||||||
(services
|
(services
|
||||||
(list (service home-bash-service-type
|
(list (service home-bash-service-type
|
||||||
(home-bash-configuration
|
(home-bash-configuration
|
||||||
(aliases '(("analyze_video" . "~/.local/bin/analyze_video.sh")
|
(aliases '(("analyze_video" . "~/.local/bin/analyze_video.sh")
|
||||||
("ct" . "~/.local/bin/compatibility.sh")
|
("ct" . "~/.local/bin/compatibility.sh")
|
||||||
("grep" . "grep --color=auto")
|
("grep" . "grep --color=auto")
|
||||||
("lf" . "~/.local/bin/lf/lfrun")
|
("lf" . "~/.local/bin/lf/lfrun")
|
||||||
("ll" . "ls -l")
|
("ll" . "ls -l")
|
||||||
("ls" . "ls -p --color=auto")
|
("ls" . "ls -p --color=auto")
|
||||||
("record" . "ffmpeg -f x11grab -r 25 -s 1366x768 -i $DISPLAY -c:v libx264 -pix_fmt yuv420p -preset ultrafast -crf 23 -y /tmp/output.mp4")
|
("record" . "ffmpeg -f x11grab -r 25 -s 1366x768 -i $DISPLAY -c:v libx264 -pix_fmt yuv420p -preset ultrafast -crf 23 -y /tmp/output.mp4")
|
||||||
("revive" . "xmodmap -e '\\''clear mod4'\\'' && xmodmap -e '\\''keycode 133 = F20'\\''")))
|
("revive" . "xmodmap -e '\\''clear mod4'\\'' && xmodmap -e '\\''keycode 133 = F20'\\''")))
|
||||||
(bashrc (list (local-file
|
(bashrc (list (local-file
|
||||||
"/home/hashirama/src/guix-config/.bashrc"
|
"/home/hashirama/src/guix-config/.bashrc"
|
||||||
"bashrc")))
|
"bashrc")))
|
||||||
(bash-profile (list (local-file
|
(bash-profile (list (local-file
|
||||||
"/home/hashirama/src/guix-config/.bash_profile"
|
"/home/hashirama/src/guix-config/.bash_profile"
|
||||||
"bash_profile")))
|
"bash_profile")))
|
||||||
(environment-variables
|
(environment-variables
|
||||||
'(
|
'(
|
||||||
("GUILE_LOAD_PATH"
|
("GUILE_LOAD_PATH"
|
||||||
. "$HOME/dev/guix_channel/ajatt-tools-guix:$GUILE_LOAD_PATH")
|
. "$HOME/dev/guix_channel/ajatt-tools-guix:$GUILE_LOAD_PATH")
|
||||||
("XMONAD_CONFIG_DIR"
|
("XMONAD_CONFIG_DIR"
|
||||||
. "$HOME/.xmonad")
|
. "$HOME/.xmonad")
|
||||||
))
|
))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
(service home-syncthing-service-type
|
||||||
|
(for-home
|
||||||
|
(syncthing-configuration
|
||||||
|
(user "hashirama"))))
|
||||||
|
|
||||||
|
|
||||||
|
(service home-xdg-mime-applications-service-type
|
||||||
|
(home-xdg-mime-applications-configuration
|
||||||
|
(default (associate-right
|
||||||
|
('nyxt.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"))
|
||||||
|
('emacs.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"
|
||||||
|
"audio/flac"
|
||||||
|
"video/mp4"
|
||||||
|
"video/x-matroska"
|
||||||
|
"video/webm"))
|
||||||
|
('nsxiv.desktop
|
||||||
|
`("image/avif"
|
||||||
|
"image/bmp"
|
||||||
|
"image/jpeg"
|
||||||
|
"image/png"
|
||||||
|
"image/svg+xml"
|
||||||
|
"image/webp"))
|
||||||
|
('emacs.desktop
|
||||||
|
`("image/vnd.djvu"))
|
||||||
|
('foliate.desktop
|
||||||
|
`("application/epub+zip"))
|
||||||
|
('sioyek.desktop
|
||||||
|
`("application/pdf"))
|
||||||
|
))))
|
||||||
|
|
||||||
|
(simple-service 'font-antialias
|
||||||
|
home-fontconfig-service-type
|
||||||
|
(list "~/.local/share/fonts" fontconfig))
|
||||||
|
|
||||||
|
(simple-service 'bash-fancy-prompt
|
||||||
|
home-bash-service-type
|
||||||
|
(home-bash-extension
|
||||||
|
(environment-variables
|
||||||
|
'(("PS1" . "\\u \\wλ ")))))
|
||||||
|
|
||||||
|
(simple-service 'environment-variables-service
|
||||||
|
home-environment-variables-service-type
|
||||||
|
`(#|Shells|#
|
||||||
|
("PATH" . "$HOME/.local/bin:$PATH")
|
||||||
|
("XINITRC" . "$XDG_CONFIG_HOME/.xinitrc")
|
||||||
|
|
||||||
|
#|Guile|#
|
||||||
|
("GUILE_WARN_DEPRECATED" . "detailed")
|
||||||
|
("GUILE_LOAD_PATH"
|
||||||
|
. "$HOME/dev/guix_channel/ajatt-tools-guix:$GUILE_LOAD_PATH")
|
||||||
|
|
||||||
|
#|IME|#
|
||||||
|
("GTK_IM_MODULE" . "fcitx")
|
||||||
|
("QT_IM_MODULE" . "fcitx")
|
||||||
|
("XMODIFIERS" . "@im=fctix")
|
||||||
|
|
||||||
|
#|Dictionary|#
|
||||||
|
("STARDICT_DATA_DIR" . "/mnt/Data/Japanese_Resources/languages-study(japanesAndRussian)/dicts/stardict/being_used")
|
||||||
|
|
||||||
|
|
||||||
(service home-xdg-mime-applications-service-type
|
#|Language|#
|
||||||
(home-xdg-mime-applications-configuration
|
("LANG" . "en_US.UTF-8")
|
||||||
(default (associate-right
|
("LANGUAGE" . "en_US.UTF-8")
|
||||||
('nyxt.desktop
|
("LC_COLLATE" . "C")
|
||||||
`("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"))
|
|
||||||
('emacs.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"
|
|
||||||
"audio/flac"
|
|
||||||
"video/mp4"
|
|
||||||
"video/x-matroska"
|
|
||||||
"video/webm"))
|
|
||||||
('nsxiv.desktop
|
|
||||||
`("image/avif"
|
|
||||||
"image/bmp"
|
|
||||||
"image/jpeg"
|
|
||||||
"image/png"
|
|
||||||
"image/svg+xml"
|
|
||||||
"image/webp"))
|
|
||||||
('emacs.desktop
|
|
||||||
`("image/vnd.djvu"))
|
|
||||||
('foliate.desktop
|
|
||||||
`("application/epub+zip"))
|
|
||||||
('sioyek.desktop
|
|
||||||
`("application/pdf"))
|
|
||||||
))))
|
|
||||||
|
|
||||||
(simple-service 'font-antialias
|
#|Default applications|#
|
||||||
home-fontconfig-service-type
|
("BROWSER" . "nyxt")
|
||||||
(list "~/.local/share/fonts" fontconfig))
|
("EDITOR" . "emacs")
|
||||||
|
("FCEDIT" . "emacs")
|
||||||
(simple-service 'bash-fancy-prompt
|
("PAGER" . "less")
|
||||||
home-bash-service-type
|
("READER" . "emacs")
|
||||||
(home-bash-extension
|
("SHELL" . "bash")
|
||||||
(environment-variables
|
("TERMINAL" . "kitty")
|
||||||
'(("PS1" . "\\u \\wλ ")))))
|
("VISUAL" . "emacs")
|
||||||
|
("WM" . "xmonad")))))
|
||||||
(simple-service 'environment-variables-service
|
|
||||||
home-environment-variables-service-type
|
|
||||||
`(#|Shells|#
|
|
||||||
("PATH" . "$HOME/.local/bin:$PATH")
|
|
||||||
("XINITRC" . "$XDG_CONFIG_HOME/.xinitrc")
|
|
||||||
|
|
||||||
#|Guile|#
|
|
||||||
("GUILE_WARN_DEPRECATED" . "detailed")
|
|
||||||
("GUILE_LOAD_PATH"
|
|
||||||
. "$HOME/dev/guix_channel/ajatt-tools-guix:$GUILE_LOAD_PATH")
|
|
||||||
|
|
||||||
#|IME|#
|
|
||||||
("GTK_IM_MODULE" . "fcitx")
|
|
||||||
("QT_IM_MODULE" . "fcitx")
|
|
||||||
("XMODIFIERS" . "@im=fctix")
|
|
||||||
|
|
||||||
#|Dictionary|#
|
|
||||||
("STARDICT_DATA_DIR" . "/mnt/Data/Japanese_Resources/languages-study(japanesAndRussian)/dicts/stardict/being_used")
|
|
||||||
|
|
||||||
|
|
||||||
#|Language|#
|
)
|
||||||
("LANG" . "en_US.UTF-8")
|
|
||||||
("LANGUAGE" . "en_US.UTF-8")
|
|
||||||
("LC_COLLATE" . "C")
|
|
||||||
|
|
||||||
#|Default applications|#
|
|
||||||
("BROWSER" . "nyxt")
|
|
||||||
("EDITOR" . "emacs")
|
|
||||||
("FCEDIT" . "emacs")
|
|
||||||
("PAGER" . "less")
|
|
||||||
("READER" . "emacs")
|
|
||||||
("SHELL" . "bash")
|
|
||||||
("TERMINAL" . "kitty")
|
|
||||||
("VISUAL" . "emacs")
|
|
||||||
("WM" . "xmonad")))))
|
|
||||||
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue