summaryrefslogtreecommitdiffstats
path: root/src/jd
diff options
context:
space:
mode:
Diffstat (limited to 'src/jd')
-rw-r--r--src/jd/features/emacs-xyz.scm2
-rw-r--r--src/jd/host.scm7
-rw-r--r--src/jd/user.scm127
3 files changed, 84 insertions, 52 deletions
diff --git a/src/jd/features/emacs-xyz.scm b/src/jd/features/emacs-xyz.scm
index d79b920..8b414ef 100644
--- a/src/jd/features/emacs-xyz.scm
+++ b/src/jd/features/emacs-xyz.scm
@@ -114,7 +114,7 @@
114 '(,capture-key 114 '(,capture-key
115 "University task" entry 115 "University task" entry
116 (function org-uni-capture-task-function) 116 (function org-uni-capture-task-function)
117 "* TODO %? :%(org-capture-get :uni-class-tag):\n:PROPERTIES:\n:CREATED: %U\n:END:\n")))) 117 "* TODO %? :%(org-capture-get :uni-class-tag):\n:PROPERTIES:\n:CREATED: %U\n:END:\n"))))
118 #:summary "This Emacs Lisp script enhances =org-mode= with a feature for managing university tasks." 118 #:summary "This Emacs Lisp script enhances =org-mode= with a feature for managing university tasks."
119 #:commentary "This Emacs Lisp script enhances =org-mode= with a feature for managing university tasks." 119 #:commentary "This Emacs Lisp script enhances =org-mode= with a feature for managing university tasks."
120 #:authors (list "Jakub Dlugosz <jakub@jdlugosz.com>") 120 #:authors (list "Jakub Dlugosz <jakub@jdlugosz.com>")
diff --git a/src/jd/host.scm b/src/jd/host.scm
index 1bd5c30..4e573e4 100644
--- a/src/jd/host.scm
+++ b/src/jd/host.scm
@@ -54,7 +54,8 @@
54 (list 54 (list
55 (feature-host-info 55 (feature-host-info
56 #:host-name "berserker" 56 #:host-name "berserker"
57 #:timezone "Europe/Warsaw") 57 #:timezone "Europe/Warsaw"
58 #:issue "Greetings, wandering soul, craving the tapping keystrokes?")
58 (feature-file-systems 59 (feature-file-systems
59 #:mapped-devices mapped-devices 60 #:mapped-devices mapped-devices
60 #:file-systems file-systems) 61 #:file-systems file-systems)
@@ -64,5 +65,7 @@
64 (profile docked ((output eDP-1 disable) 65 (profile docked ((output eDP-1 disable)
65 (output DP-3 enable))) 66 (output DP-3 enable)))
66 (profile docked ((output eDP-1 disable) 67 (profile docked ((output eDP-1 disable)
67 (output DP-4 enable))))) 68 (output DP-4 enable)))
69 (profile docked ((output eDP-1 disable)
70 (output DP-6 enable)))))
68 (feature-hidpi))) 71 (feature-hidpi)))
diff --git a/src/jd/user.scm b/src/jd/user.scm
index 7f3bdab..2224712 100644
--- a/src/jd/user.scm
+++ b/src/jd/user.scm
@@ -12,8 +12,8 @@
12 #:use-module (gnu services) 12 #:use-module (gnu services)
13 #:use-module (gnu services base) 13 #:use-module (gnu services base)
14 #:use-module (gnu services cups) 14 #:use-module (gnu services cups)
15 #:use-module (gnu services nix)
16 #:use-module (gnu services desktop) 15 #:use-module (gnu services desktop)
16 #:use-module (gnu services nix)
17 #:use-module (gnu system pam) 17 #:use-module (gnu system pam)
18 18
19 #:use-module (guix channels) 19 #:use-module (guix channels)
@@ -44,7 +44,7 @@
44 (use-modules (rde features module) ...)) 44 (use-modules (rde features module) ...))
45 45
46(define-syntax-rule (use-rde-home-services-modules module ...) 46(define-syntax-rule (use-rde-home-services-modules module ...)
47 (use-modules (rde features module) ...)) 47 (use-modules (rde home services module) ...))
48 48
49(use-rde-features-modules 49(use-rde-features-modules
50 android base bittorrent clojure containers 50 android base bittorrent clojure containers
@@ -55,8 +55,7 @@
55 shellutils sourcehut ssh system terminals tmux uml 55 shellutils sourcehut ssh system terminals tmux uml
56 version-control video virtualization web-browsers wm xdg python) 56 version-control video virtualization web-browsers wm xdg python)
57 57
58(use-rde-home-services-modules 58(use-rde-home-services-modules i2p)
59 emacs shells video wm)
60 59
61(define* (mail-acc id user #:optional (type 'migadu)) 60(define* (mail-acc id user #:optional (type 'migadu))
62 "Make a simple mail-account with gmail type by default." 61 "Make a simple mail-account with gmail type by default."
@@ -87,14 +86,15 @@
87 (feature-xdg 86 (feature-xdg
88 #:xdg-user-directories-configuration 87 #:xdg-user-directories-configuration
89 (home-xdg-user-directories-configuration 88 (home-xdg-user-directories-configuration
90 (music "$HOME/music") 89 (desktop "$HOME")
91 (videos "$HOME/videos") 90 (templates "$HOME")
92 (pictures "$HOME/pics")
93 (documents "$HOME/docs")
94 (download "$HOME/dl") 91 (download "$HOME/dl")
95 (publicshare "$HOME/sync") 92 (publicshare "$HOME/sync")
96 (desktop "$HOME") 93 (music "/data/jakub/music")
97 (templates "$HOME"))) 94 (videos "/data/jakub/videos")
95 (pictures "/data/jakub/pics")
96 (documents "/data/jakub/docs")
97 ))
98 (feature-pipewire) 98 (feature-pipewire)
99 (feature-shepherd))) 99 (feature-shepherd)))
100 100
@@ -226,7 +226,7 @@
226 lisp-interaction-mode-hook 226 lisp-interaction-mode-hook
227 scheme-mode-hook 227 scheme-mode-hook
228 clojure-mode-hook)) 228 clojure-mode-hook))
229 (add-hook hook 'paredit-mode))) 229 (add-hook hook 'paredit-mode)))
230 230
231 (with-eval-after-load 'rainbow-delimiters 231 (with-eval-after-load 'rainbow-delimiters
232 (dolist (hook '(emacs-lisp-mode-hook 232 (dolist (hook '(emacs-lisp-mode-hook
@@ -253,8 +253,11 @@
253 (global-page-break-lines-mode 1)) 253 (global-page-break-lines-mode 1))
254 254
255 (with-eval-after-load 'gptel 255 (with-eval-after-load 'gptel
256 (setq gptel-model 'gpt-4o 256 (setq gptel-model 'gpt-4o
257 gptel-backend (gptel-make-gh-copilot "Copilot"))) 257 gptel-backend (gptel-make-gh-copilot "Copilot")))
258
259 (with-eval-after-load 'geiser-mode
260 (setq geiser-mode-auto-p nil))
258 261
259 (with-eval-after-load 'simple 262 (with-eval-after-load 'simple
260 (add-hook 263 (add-hook
@@ -292,7 +295,8 @@
292 "emacs-nginx-mode" 295 "emacs-nginx-mode"
293 "emacs-yaml-mode" 296 "emacs-yaml-mode"
294 "emacs-org-present" 297 "emacs-org-present"
295 "emacs-org-pdftools")))) 298 "emacs-org-pdftools"
299 "emacs-org-pomodoro"))))
296 (feature 300 (feature
297 (name f-name) 301 (name f-name)
298 (values `((,f-name . #t))) 302 (values `((,f-name . #t)))
@@ -301,34 +305,36 @@
301(define-public %emacs-features 305(define-public %emacs-features
302 (list 306 (list
303 (feature-emacs-modus-themes #:deuteranopia? #f) 307 (feature-emacs-modus-themes #:deuteranopia? #f)
304 (feature-emacs-citation #:global-bibliography (list "/home/jakub/docs/notes/references/master.bib")) 308 (feature-emacs-citation #:global-bibliography (list "/data/jakub/notes/references/master.bib"))
305 (feature-emacs-completion #:mini-frame? #f ;; Dziwne kurwa bledy 309 (feature-emacs-completion #:mini-frame? #f ;; Dziwne kurwa bledy
306 #:marginalia-align 'right) 310 #:marginalia-align 'right)
307 (feature-emacs-corfu #:corfu-doc-auto #f) 311 (feature-emacs-corfu #:corfu-doc-auto #f)
308 (feature-emacs #:default-application-launcher? #t) 312 (feature-emacs #:default-application-launcher? #t)
309 (feature-emacs-elfeed #:elfeed-org-files '("/home/jakub/docs/notes/rss.org")) 313 (feature-emacs-elfeed #:elfeed-org-files '("/data/jakub/notes/rss.org"))
310 (feature-emacs-erc #:erc-log? #t 314 (feature-emacs-erc #:erc-log? #t
311 #:erc-autojoin-channels-alist '((Libera.Chat "#rde") 315 #:erc-autojoin-channels-alist '((Libera.Chat "#rde")
312 (Libera.Chat "#systemcrafters") 316 (Libera.Chat "#systemcrafters")
313 (Libera.Chat "#lisp-pl") 317 (Libera.Chat "#lisp-pl")
314 (Libera.Chat "#hsp"))) 318 (Libera.Chat "#lispcafe")
319 (Libera.Chat "##metal")
320 (Libera.Chat "#hsp")
321 (Libera.Chat "#spritely")
322 (Libera.Chat "#guix")))
315 (feature-emacs-keycast #:turn-on? #f) 323 (feature-emacs-keycast #:turn-on? #f)
316 (feature-emacs-org-agenda #:org-agenda-files '("/home/jakub/docs/notes/personal.org"
317 "/home/jakub/docs/notes/s22425.org"))
318 (feature-emacs-org-agenda #:org-agenda-files '("/data/jakub/notes/personal.org" 324 (feature-emacs-org-agenda #:org-agenda-files '("/data/jakub/notes/personal.org"
319 "/data/jakub/notes/s32526.org")) 325 "/data/jakub/notes/s32526.org"))
320 (feature-emacs-org-uni) 326 (feature-emacs-org-uni)
321 (feature-emacs-org-dailies #:encrypted? #t) 327 (feature-emacs-org-dailies #:encrypted? #t)
322 (feature-emacs-org #:org-directory "/home/jakub/docs/notes" 328 (feature-emacs-org #:org-directory "/data/jakub/notes"
323 #:org-indent? #t) 329 #:org-indent? #t)
324 (feature-emacs-org-roam #:org-roam-directory "/home/jakub/docs/notes/slip-box") 330 (feature-emacs-org-roam #:org-roam-directory "/data/jakub/notes/slip-box")
325 (feature-emacs-spelling #:spelling-program (@ (gnu packages hunspell) hunspell) 331 (feature-emacs-spelling #:spelling-program (@ (gnu packages hunspell) hunspell)
326 #:spelling-dictionaries (list (@ (gnu packages hunspell) hunspell-dict-en) 332 #:spelling-dictionaries (list (@ (gnu packages hunspell) hunspell-dict-en)
327 (@ (gnu packages hunspell) hunspell-dict-pl)) 333 (@ (gnu packages hunspell) hunspell-dict-pl))
328 #:ispell-standard-dictionary "pl_PL") 334 #:ispell-standard-dictionary "pl_PL")
329 (feature-emacs-dired #:extra-switches "-h") 335 (feature-emacs-dired #:extra-switches "-h")
330 (feature-emacs-monocle #:olivetti-body-width 100) 336 (feature-emacs-monocle #:olivetti-body-width 100)
331 (feature-emacs-denote #:denote-directory "/home/jakub/docs/notes") 337 (feature-emacs-denote #:denote-directory "/data/jakub/notes/denote")
332 (feature-emacs-devdocs) 338 (feature-emacs-devdocs)
333 (feature-emacs-appearance) 339 (feature-emacs-appearance)
334 (feature-emacs-dashboard) 340 (feature-emacs-dashboard)
@@ -385,13 +391,13 @@
385 (port . 22) 391 (port . 22)
386 (compression . #t)))) 392 (compression . #t))))
387 (ssh-host 393 (ssh-host
388 (host "amg.abaks.pl") 394 (host "git.jdlugosz.com")
389 (options 395 (options
390 '((user . "serwis") 396 '((user . "git")
391 (port . 22) 397 (port . 22)
392 (compression . #t)))) 398 (compression . #t))))
393 (ssh-host 399 (ssh-host
394 (host "wifi-dev.abaks.pl") 400 (host "*.abaks.pl")
395 (options 401 (options
396 '((user . "serwis") 402 '((user . "serwis")
397 (port . 22) 403 (port . 22)
@@ -424,6 +430,31 @@
424 '(("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"))) 430 '(("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share")))
425 431
426 (simple-service 432 (simple-service
433 'i2pd-add-ilita-irc
434 home-i2pd-service-type
435 (home-i2pd-extension
436 (tunnels-conf
437 `((IRC-ILITA ((type . client)
438 (address . 127.0.0.1)
439 (port . 6669)
440 (destination . irc.ilita.i2p)
441 (destinationport . 6667)
442 (keys . ilita-keys.dat)))
443 (BETA-CRAFT ((type . client)
444 (address . 192.168.122.1)
445 (port . 25565)
446 (destination . jpkqfe5q5z74i4esbcqilwozv72gbrkm4bueibblm732egjlzy6a.b32.i2p )
447 (destinationport . 25565)
448 (gzip . false)
449 (inbound.length . 1)
450 (outbound.length . 1)
451 (inbound.quantity . 3)
452 (outbound.quantity . 3)
453 (i2cp.leaseSetType . 3)
454 (i2cp.leaseSetEncType . 4)
455 (keys . betacraft.dat)))))))
456
457 (simple-service
427 'home-profile-extra-packages 458 'home-profile-extra-packages
428 home-profile-service-type 459 home-profile-service-type
429 (append 460 (append
@@ -436,35 +467,32 @@
436 "figlet" 467 "figlet"
437 "calibre" 468 "calibre"
438 469
439 "libnotify" 470 "libnotify"
440 471
441 "flatpak" 472 "flatpak" "wine64"
442 473
443 "alsa-utils" 474 "alsa-utils"
444 "pavucontrol" 475 "pavucontrol"
445 "imagemagick" 476 "imagemagick"
446 "obs" "obs-wlrobs" 477 "obs" "obs-wlrobs"
447 "binutils" "make" "gdb" 478 "binutils" "make" "gdb"
448 479
449 "hicolor-icon-theme" "adwaita-icon-theme" 480 "hicolor-icon-theme" "adwaita-icon-theme"
450 "gnome-themes-extra" "papirus-icon-theme" 481 "gnome-themes-extra" "papirus-icon-theme"
451 "arc-theme" 482 "arc-theme"
452 483
453 "xdg-desktop-portal-gnome" 484 "xdg-desktop-portal-gnome"
454 485
455 "fd" 486 "kdenlive" "gimp"
456 "nautilus" 487 "freecad"
457 "qbittorrent"
458 "kdenlive" "gimp"
459 "blender"
460 488
461 "ripgrep" "curl" 489 "ripgrep" "curl"
462 490
463 "texlive" "texlive-collection-basic" 491 "texlive" "texlive-collection-basic"
464 "texlive-bin" "texlive-collection-latex" 492 "texlive-bin" "texlive-collection-latex"
465 "texlive-collection-fontsrecommended" 493 "texlive-collection-fontsrecommended"
466 "texlive-collection-pictures" 494 "texlive-collection-pictures"
467 "texlive-collection-latexextra" 495 "texlive-collection-latexextra"
468 "texlive-dvipng"))))))) 496 "texlive-dvipng")))))))
469 497
470 498
@@ -531,8 +559,9 @@
531 (network "irc.libera.chat") 559 (network "irc.libera.chat")
532 (nick "jdlugosz963")))) 560 (nick "jdlugosz963"))))
533 (feature-sourcehut 561 (feature-sourcehut
534 #:user-name-fn (const "jdlugosz963")) 562 #:user-name-fn (const "jdlugosz"))
535 (feature-keyboard 563 (feature-keyboard
536 #:keyboard-layout (keyboard-layout "pl")) 564 #:keyboard-layout (keyboard-layout "pl"))
537 (feature-ssh-extra-config) 565 (feature-ssh-extra-config)
538 (feature-additional-services)))) 566 (feature-additional-services)
567 )