2022-10-13 22:06:14 +02:00
|
|
|
(define-module (oni home config data)
|
2022-03-30 11:42:09 +02:00
|
|
|
#:use-module (gnu home services desktop)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (gnu home services)
|
|
|
|
#:use-module (gnu home)
|
2022-03-30 11:42:09 +02:00
|
|
|
#:use-module (gnu packages admin)
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module ((gnu packages emacs)
|
|
|
|
#:select (emacs))
|
|
|
|
#:use-module ((gnu packages emacs-xyz)
|
|
|
|
#:select (emacs-guix
|
|
|
|
emacs-org-contacts))
|
2024-12-06 16:35:33 +01:00
|
|
|
#:use-module ((gnu packages fonts)
|
|
|
|
#:select (font-dosis))
|
2024-12-06 16:36:49 +01:00
|
|
|
#:use-module ((gnu packages forth)
|
|
|
|
#:select (gforth))
|
2022-04-04 10:11:13 +02:00
|
|
|
#:use-module (gnu packages shellutils)
|
2022-04-14 10:39:25 +02:00
|
|
|
#:use-module (gnu packages wm)
|
2022-06-17 04:09:43 +02:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu services)
|
2022-03-30 11:42:09 +02:00
|
|
|
#:use-module (guix gexp)
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home config common)
|
2024-11-19 06:41:36 +01:00
|
|
|
#:use-module ((oni home services admin)
|
|
|
|
#:select (home-cbatticon-service-type))
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home services cmst)
|
|
|
|
#:use-module (oni home services dunst)
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module ((oni home services emacs)
|
|
|
|
#:select (home-emacs-service-type
|
|
|
|
home-emacs-configuration
|
|
|
|
home-emacs-helpful-service-type
|
|
|
|
home-emacs-helpful-configuration
|
|
|
|
home-emacs-yasnippet-capf-service-type
|
|
|
|
home-emacs-eros-service-type
|
|
|
|
home-emacs-ace-link-service-type
|
|
|
|
home-emacs-ace-link-configuration
|
|
|
|
home-emacs-golden-ratio-service-type
|
2024-12-06 16:37:34 +01:00
|
|
|
home-emacs-pinentry-service-type
|
|
|
|
home-emacs-org-caldav-service-type))
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home services environment)
|
2023-12-20 07:19:47 +01:00
|
|
|
;; #:use-module (oni home services herbstluftwm)
|
2022-04-19 10:14:14 +02:00
|
|
|
#:use-module (oni home services kdeconnect)
|
2023-03-08 08:10:57 +01:00
|
|
|
#:use-module ((oni home services picom)
|
|
|
|
#:select (home-picom-service-type
|
|
|
|
home-picom-configuration))
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home services polybar)
|
|
|
|
#:use-module (oni home services rofi)
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module (oni home services sawfish)
|
2022-04-27 10:16:39 +02:00
|
|
|
#:use-module (oni home services syncthing)
|
2022-06-17 04:09:43 +02:00
|
|
|
#:use-module (oni home services unclutter)
|
2023-12-20 07:19:47 +01:00
|
|
|
;; #:use-module (oni home services xbindkeys)
|
2024-10-29 08:17:48 +01:00
|
|
|
#:use-module ((oni home services xdisorg)
|
|
|
|
#:select (home-xss-lock-service-type))
|
2023-03-06 19:19:33 +01:00
|
|
|
#:use-module (oni home services xsession)
|
|
|
|
#:use-module (oni home services zsh)
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module ((oni packages emacs)
|
2024-01-16 10:11:31 +01:00
|
|
|
#:select (emacs-outli
|
|
|
|
emacs-syncthing-status))
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module ((oni packages emacs-config)
|
|
|
|
#:select (emacs-oni-org-roam
|
|
|
|
emacs-oni-vterm
|
|
|
|
emacs-oni-elisp
|
|
|
|
emacs-oni-eshell
|
|
|
|
emacs-oni-core
|
|
|
|
emacs-oni-compilation
|
|
|
|
emacs-oni-common-lisp
|
|
|
|
emacs-oni-gui
|
|
|
|
emacs-oni-magit
|
|
|
|
emacs-oni-project
|
|
|
|
emacs-oni-bookmark
|
|
|
|
emacs-oni-dired
|
|
|
|
emacs-oni-browse-url
|
|
|
|
emacs-oni-c
|
|
|
|
emacs-oni-circe
|
|
|
|
emacs-oni-conf
|
|
|
|
emacs-oni-css
|
|
|
|
emacs-oni-diff-hl
|
|
|
|
emacs-oni-ediff
|
|
|
|
emacs-oni-eww
|
|
|
|
emacs-oni-grep
|
|
|
|
emacs-oni-highlight-indent-guides
|
|
|
|
emacs-oni-html
|
|
|
|
emacs-oni-json
|
|
|
|
emacs-oni-log-edit
|
|
|
|
emacs-oni-lua
|
|
|
|
emacs-oni-makefile
|
|
|
|
emacs-oni-nxml
|
|
|
|
emacs-oni-package
|
|
|
|
emacs-oni-projectile
|
|
|
|
emacs-oni-scheme
|
|
|
|
emacs-oni-sh
|
|
|
|
emacs-oni-shr
|
|
|
|
emacs-oni-tramp
|
|
|
|
emacs-oni-embrace
|
2024-11-08 16:14:28 +01:00
|
|
|
emacs-oni-git-commit
|
2024-11-29 08:30:48 +01:00
|
|
|
emacs-oni-python
|
2024-12-06 16:38:38 +01:00
|
|
|
emacs-oni-yaml
|
|
|
|
emacs-oni-gnus))
|
2024-10-29 08:17:48 +01:00
|
|
|
;; #:use-module (oni packages hlwm-run-or-raise)
|
2022-09-27 01:05:48 +02:00
|
|
|
#:use-module (oni packages pick-random-wallpaper)
|
2023-12-20 07:19:47 +01:00
|
|
|
#:use-module (oni packages sawfish)
|
2023-08-23 19:57:56 +02:00
|
|
|
#:use-module (oni packages shutdown-rofi)
|
|
|
|
#:use-module (oni packages zsh))
|
2022-03-30 11:42:09 +02:00
|
|
|
|
2023-03-06 19:19:33 +01:00
|
|
|
(define data-picom-service
|
|
|
|
(service home-picom-service-type
|
|
|
|
(home-picom-configuration
|
2023-03-08 08:05:58 +01:00
|
|
|
(detect-transient #t)
|
|
|
|
(shadow #t)
|
|
|
|
(wintypes '((dnd (shadow . #f))
|
|
|
|
(dock (shadow . #f))))
|
|
|
|
(shadow-radius 10)
|
|
|
|
(shadow-exclude '("name = 'mowedline'"
|
|
|
|
"class_g = 'trayer'"
|
|
|
|
"bounding_shaped")))))
|
2023-03-06 19:19:33 +01:00
|
|
|
|
2022-03-30 11:42:09 +02:00
|
|
|
(home-environment
|
2022-04-19 08:36:56 +02:00
|
|
|
(packages (list (specification->package+output "glibc-locales")
|
|
|
|
(specification->package+output "font-fantasque-sans")
|
2022-04-27 10:16:39 +02:00
|
|
|
(specification->package+output "font-comic-neue")
|
2024-12-06 16:35:33 +01:00
|
|
|
font-dosis
|
2024-10-29 08:17:48 +01:00
|
|
|
;; hlwm-run-or-raise
|
2022-10-14 05:45:32 +02:00
|
|
|
pick-random-wallpaper
|
2023-12-20 07:19:47 +01:00
|
|
|
shutdown-rofi
|
|
|
|
emacs-sawfish
|
|
|
|
emacs-org-contacts
|
|
|
|
emacs-syncthing-status
|
|
|
|
emacs-outli
|
|
|
|
emacs-guix
|
|
|
|
|
|
|
|
(emacs-oni-org-roam emacs)
|
|
|
|
emacs-oni-vterm
|
|
|
|
emacs-oni-elisp
|
|
|
|
emacs-oni-core
|
|
|
|
emacs-oni-eshell
|
|
|
|
emacs-oni-compilation
|
|
|
|
emacs-oni-common-lisp
|
|
|
|
emacs-oni-gui
|
|
|
|
emacs-oni-magit
|
|
|
|
emacs-oni-project
|
|
|
|
emacs-oni-bookmark
|
|
|
|
emacs-oni-dired
|
|
|
|
emacs-oni-browse-url
|
|
|
|
emacs-oni-c
|
|
|
|
emacs-oni-conf
|
|
|
|
emacs-oni-css
|
|
|
|
emacs-oni-diff-hl
|
|
|
|
emacs-oni-ediff
|
|
|
|
emacs-oni-embrace
|
|
|
|
emacs-oni-eww
|
|
|
|
emacs-oni-grep
|
|
|
|
emacs-oni-highlight-indent-guides
|
|
|
|
emacs-oni-html
|
|
|
|
emacs-oni-json
|
|
|
|
emacs-oni-log-edit
|
|
|
|
emacs-oni-lua
|
|
|
|
emacs-oni-makefile
|
|
|
|
emacs-oni-nxml
|
|
|
|
emacs-oni-package
|
|
|
|
emacs-oni-projectile
|
|
|
|
emacs-oni-scheme
|
|
|
|
emacs-oni-sh
|
|
|
|
emacs-oni-shr
|
|
|
|
emacs-oni-tramp
|
2024-11-08 16:14:28 +01:00
|
|
|
emacs-oni-git-commit
|
2024-11-29 08:30:48 +01:00
|
|
|
emacs-oni-python
|
2024-12-06 16:36:49 +01:00
|
|
|
emacs-oni-yaml
|
2024-12-06 16:38:38 +01:00
|
|
|
emacs-oni-gnus
|
2024-12-06 16:36:49 +01:00
|
|
|
|
|
|
|
gforth))
|
2022-04-02 09:27:11 +02:00
|
|
|
|
2022-03-30 11:42:09 +02:00
|
|
|
(services
|
|
|
|
(list
|
2024-10-29 08:17:48 +01:00
|
|
|
home-channels-service
|
2022-09-23 07:57:15 +02:00
|
|
|
home-environment-service
|
|
|
|
home-rofi-default-service
|
2022-09-27 01:05:48 +02:00
|
|
|
home-dunst-default-service
|
|
|
|
home-redshift-service
|
2023-12-20 07:19:47 +01:00
|
|
|
;; home-xbindkeys-service
|
2022-09-27 01:05:48 +02:00
|
|
|
home-zsh-service
|
|
|
|
home-guile-service
|
|
|
|
home-xmodmap-service
|
|
|
|
home-openssh-service
|
|
|
|
home-kitty-service
|
2023-03-06 19:19:33 +01:00
|
|
|
data-picom-service
|
2022-04-12 08:15:51 +02:00
|
|
|
|
|
|
|
;; 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)
|
2023-08-23 19:57:56 +02:00
|
|
|
(service home-zsh-contextual-abbrevs-service-type)
|
2022-03-30 21:26:45 +02:00
|
|
|
|
2022-04-05 10:30:08 +02:00
|
|
|
(service home-xsession-service-type
|
|
|
|
(home-xsession-configuration
|
|
|
|
(configuration
|
|
|
|
(list
|
2022-04-14 10:39:25 +02:00
|
|
|
(mixed-text-file
|
|
|
|
"xsession"
|
|
|
|
"xrdb -cpp m4 -merge \"${HOME}/.config/X11/Xresources\" -I\"${HOME}/.config/X11/Xresources.d\"\n"
|
|
|
|
"xrandr --setprovideroutputsource modesetting NVIDIA-0\n"
|
|
|
|
"xrandr --auto\n"
|
|
|
|
"xrandr --dpi 96\n")))))
|
2022-04-06 06:47:45 +02:00
|
|
|
|
2023-12-20 07:19:47 +01:00
|
|
|
;; (service home-herbstluftwm-service-type
|
|
|
|
;; (home-herbstluftwm-configuration
|
|
|
|
;; (tags '(dev web game))
|
|
|
|
;; (key-bindings
|
|
|
|
;; '(("s-S-q" . "quit")
|
|
|
|
;; ("s-S-e" . "reload")))
|
|
|
|
;; (mouse-bindings
|
|
|
|
;; '(("s-Button1" . "move")
|
|
|
|
;; ("s-Button2" . "zoom")
|
|
|
|
;; ("s-Button3" . "resize")))
|
|
|
|
;; (settings
|
|
|
|
;; '((default_frame_layout . 2)
|
|
|
|
;; (frame_border_active_color . "#3d3d3d")
|
|
|
|
;; (frame_border_normal_color . "#222222")
|
|
|
|
;; (frame_bg_normal_color . "#111111")
|
|
|
|
;; (frame_bg_active_color . "#263f1f")
|
|
|
|
;; (frame_border_width . 0)
|
|
|
|
;; (window_border_width . 2)
|
|
|
|
;; (window_border_inner_width . 0)
|
|
|
|
;; (window_border_normal_color . "#222222")
|
|
|
|
;; (window_border_active_color . "#1f3f3f")
|
|
|
|
;; (window_border_inner_color . "#111111")
|
|
|
|
;; (always_show_frame . 0)
|
|
|
|
;; (frame_gap . 30)
|
|
|
|
;; (window_gap . 30)
|
|
|
|
;; (frame_padding . -30)
|
|
|
|
;; (frame_bg_transparent . 1)
|
|
|
|
;; (smart_window_surroundings . 0)
|
|
|
|
;; (smart_frame_surroundings . 0)
|
|
|
|
;; (mouse_recenter_gap . 0)
|
|
|
|
;; (swap_monitors_to_get_tag . 0)
|
|
|
|
;; (update_dragged_clients . 1)
|
|
|
|
;; (tree_style . "╾│ ├└╼─┐")))
|
|
|
|
;; (attributes
|
|
|
|
;; '(((theme tiling reset) . 1)
|
|
|
|
;; ((theme floating reset) . 1)))
|
|
|
|
;; (rules
|
|
|
|
;; '(("focus=on")
|
|
|
|
;; ("class=Emacs" "tag=dev" "index=01" "switchtag=on" "hook=emacs")
|
|
|
|
;; ("class~'URxvt|kitty'" "tag=dev" "index=1" "switchtag=on" "hook=urxvt")
|
|
|
|
;; ("class~'Conkeror|[Ff]irefox|Chromium'" "tag=web" "index=0" "switchtag=on")
|
|
|
|
;; ("class=Pinentry" "pseudotile=on")
|
|
|
|
;; ("class=Alsaplayer" "pseudotile=on")
|
|
|
|
;; ("class=Gcr-prompter" "pseudotile=on")
|
|
|
|
;; ("class=Steam" "title='Steam Login'" "pseudotile=on")
|
|
|
|
;; ("class=Steam" "title~'Steam - News .*'" "pseudotile=on")
|
|
|
|
;; ("class=" "title=Steam" "pseudotile=on")
|
|
|
|
;; ("class=xfreerdp" "floating=on" "tag=work" "index=0" "switchtag=on")
|
|
|
|
;; ("windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)'" "pseudotile=on")
|
|
|
|
;; ("windowtype='_NET_WM_WINDOW_TYPE_DIALOG'" "focus=on")
|
|
|
|
;; ("windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)'" "manage=off")
|
|
|
|
;; ("class=pinball.exe" "pseudotile=on")))
|
|
|
|
;; (padding '(0 0 0 16 16))
|
|
|
|
;; (layouts
|
|
|
|
;; '((web clients max:0)
|
|
|
|
;; (dev split horizontal:0.54:1 (clients max:0) (clients vertical:0))))
|
|
|
|
;; (extra
|
|
|
|
;; (list
|
|
|
|
;; (mixed-text-file
|
|
|
|
;; "autostart"
|
|
|
|
;; "set_monitors 1920x1080+0+0\n"
|
|
|
|
;; "focus_edge left\n"
|
|
|
|
;; "keybind Mod4-apostrophe spawn dunstctl close\n"
|
|
|
|
;; "keybind Mod4-quotedbl spawn dunstctl close-all\n"
|
|
|
|
;; "keybind Mod4-Control-apostrophe spawn dunstctl history-pop\n"
|
|
|
|
;; "keybind Mod4-Mod1-apostrophe spawn dunstctl context\n"
|
|
|
|
;; "spawn pick-random-wallpaper\n")))))
|
|
|
|
|
|
|
|
(service home-sawfish-service-type)
|
2022-04-16 09:24:34 +02:00
|
|
|
|
|
|
|
(service home-polybar-service-type
|
|
|
|
(home-polybar-configuration
|
2022-04-19 10:14:14 +02:00
|
|
|
(bar "data")))
|
|
|
|
|
|
|
|
(service home-kdeconnect-service-type)
|
|
|
|
|
2022-04-21 01:44:52 +02:00
|
|
|
(service home-cmst-service-type)
|
|
|
|
|
2022-06-17 04:09:43 +02:00
|
|
|
(service home-syncthing-service-type)
|
|
|
|
|
|
|
|
(service home-unclutter-service-type
|
|
|
|
(home-unclutter-configuration
|
|
|
|
(package unclutter-xfixes)
|
2023-12-20 07:19:47 +01:00
|
|
|
(exclude-root #t)))
|
|
|
|
|
|
|
|
(service home-emacs-service-type
|
|
|
|
(home-emacs-configuration
|
|
|
|
(configurations
|
|
|
|
(list
|
|
|
|
(local-file "../services/emacs/init.el")
|
|
|
|
(mixed-text-file
|
|
|
|
"init.el"
|
|
|
|
"(with-eval-after-load 'project (require 'oni-project))\n"
|
|
|
|
"(projectile-mode)\n"
|
|
|
|
"(setq custom-file \"~/.config/emacs/custom.el\")\n"
|
|
|
|
"(load custom-file)\n"
|
|
|
|
"(provide 'init)\n"
|
|
|
|
";;; init.el ends here\n")))))
|
|
|
|
(service home-emacs-helpful-service-type
|
|
|
|
(home-emacs-helpful-configuration
|
|
|
|
(configurations
|
|
|
|
(list
|
|
|
|
(local-file "../services/emacs/oni-helpful.el")))))
|
|
|
|
(service home-emacs-yasnippet-capf-service-type)
|
|
|
|
(service home-emacs-eros-service-type)
|
|
|
|
(service home-emacs-ace-link-service-type
|
|
|
|
(home-emacs-ace-link-configuration
|
|
|
|
(default-key "C-S-e")
|
|
|
|
(goto-address-key "C-S-e")
|
|
|
|
(org-mode-key "C-S-e")))
|
|
|
|
(service home-emacs-golden-ratio-service-type)
|
2024-10-29 08:17:48 +01:00
|
|
|
(service home-emacs-pinentry-service-type)
|
2024-12-06 16:37:34 +01:00
|
|
|
(service home-emacs-org-caldav-service-type)
|
2024-10-29 08:17:48 +01:00
|
|
|
|
2024-11-19 06:41:36 +01:00
|
|
|
(service home-xss-lock-service-type)
|
|
|
|
(service home-cbatticon-service-type))))
|