diff options
-rw-r--r-- | .config/guix/manifests/desktop.scm | 17 | ||||
-rw-r--r-- | .config/guix/manifests/emacs.scm | 17 | ||||
-rwxr-xr-x | .emacs.d/init.el | 7 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-custom.el | 13 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-dev.el | 87 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-exwm.el | 20 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-mu4e.el | 127 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-org.el | 41 | ||||
-rwxr-xr-x | .emacs.d/jd/jd-ui.el | 41 | ||||
-rw-r--r-- | guix/jd/desktops/base.scm | 39 | ||||
-rwxr-xr-x | guix/jd/desktops/berserker.scm | 32 |
11 files changed, 249 insertions, 192 deletions
diff --git a/.config/guix/manifests/desktop.scm b/.config/guix/manifests/desktop.scm index 65f456e..33f4eaf 100644 --- a/.config/guix/manifests/desktop.scm +++ b/.config/guix/manifests/desktop.scm | |||
@@ -1,8 +1,10 @@ | |||
1 | (specifications->manifest | 1 | (specifications->manifest |
2 | '("qutebrowser" | 2 | '("qutebrowser" |
3 | "tor-client" | ||
3 | 4 | ||
4 | "pulsemixer" | 5 | "pulsemixer" |
5 | "pavucontrol-qt" | 6 | "pavucontrol" |
7 | "alsa-utils" | ||
6 | 8 | ||
7 | "virt-manager" | 9 | "virt-manager" |
8 | 10 | ||
@@ -16,8 +18,15 @@ | |||
16 | 18 | ||
17 | "xdg-utils" | 19 | "xdg-utils" |
18 | "xdg-dbus-proxy" | 20 | "xdg-dbus-proxy" |
19 | "gtk+:bin" | 21 | "glib:bin" |
22 | "gtk+:bin" | ||
23 | "gnome-keyring" | ||
20 | "shared-mime-info" | 24 | "shared-mime-info" |
25 | "libnotify" | ||
26 | "dconf" | ||
27 | "hicolor-icon-theme" | ||
28 | |||
29 | "dunst" | ||
21 | 30 | ||
22 | "gimp" | 31 | "gimp" |
23 | "inkscape" | 32 | "inkscape" |
@@ -29,14 +38,16 @@ | |||
29 | "playerctl" | 38 | "playerctl" |
30 | "scrot" | 39 | "scrot" |
31 | "brightnessctl" | 40 | "brightnessctl" |
32 | "slock" | ||
33 | "upower" | 41 | "upower" |
34 | "tlp" | 42 | "tlp" |
43 | "feh" | ||
44 | "alacritty" | ||
35 | 45 | ||
36 | "curl" | 46 | "curl" |
37 | "wget" | 47 | "wget" |
38 | "zip" | 48 | "zip" |
39 | "unzip" | 49 | "unzip" |
50 | "qrencode" | ||
40 | "trash-cli" | 51 | "trash-cli" |
41 | "password-store" | 52 | "password-store" |
42 | "pinentry" | 53 | "pinentry" |
diff --git a/.config/guix/manifests/emacs.scm b/.config/guix/manifests/emacs.scm index 79325bd..fb6468b 100644 --- a/.config/guix/manifests/emacs.scm +++ b/.config/guix/manifests/emacs.scm | |||
@@ -1,15 +1,22 @@ | |||
1 | ;; This file is auto-generated by Emacs function: jd/manifest-generate-to-file | 1 | ;; This file is auto-generated by Emacs function: jd/manifest-generate-to-file |
2 | (specifications->manifest | 2 | (specifications->manifest |
3 | '("emacs-desktop-environment" | 3 | '("emacs-ytdl" |
4 | "emacs-desktop-environment" | ||
4 | "emacs-exwm" | 5 | "emacs-exwm" |
6 | "emacs-perspective" | ||
5 | "emacs-mu4e-alert" | 7 | "emacs-mu4e-alert" |
6 | "mu" | 8 | "mu" |
9 | "isync" | ||
7 | "emacs-htmlize" | 10 | "emacs-htmlize" |
11 | "emacs-bluetooth" | ||
12 | "emacs-password-store" | ||
8 | "emacs-mastodon" | 13 | "emacs-mastodon" |
9 | "emacs-elfeed" | 14 | "emacs-elfeed" |
10 | "emacs-pdf-tools" | 15 | "emacs-pdf-tools" |
16 | "emacs-emms" | ||
11 | "emacs-all-the-icons-dired" | 17 | "emacs-all-the-icons-dired" |
12 | "emacs-vterm" | 18 | "emacs-vterm" |
19 | "emacs-restclient" | ||
13 | "emacs-magit" | 20 | "emacs-magit" |
14 | "emacs-neotree" | 21 | "emacs-neotree" |
15 | "emacs-projectile" | 22 | "emacs-projectile" |
@@ -20,27 +27,29 @@ | |||
20 | "emacs-web-mode" | 27 | "emacs-web-mode" |
21 | "emacs-flycheck" | 28 | "emacs-flycheck" |
22 | "emacs-tide" | 29 | "emacs-tide" |
30 | "emacs-cider" | ||
23 | "emacs-typescript-mode" | 31 | "emacs-typescript-mode" |
24 | "emacs-pyvenv" | 32 | "emacs-pyvenv" |
25 | "emacs-geiser-guile" | 33 | "emacs-geiser-guile" |
34 | "emacs-racket-mode" | ||
35 | "emacs-geiser-racket" | ||
26 | "emacs-geiser" | 36 | "emacs-geiser" |
37 | "emacs-sly" | ||
27 | "emacs-rainbow-delimiters" | 38 | "emacs-rainbow-delimiters" |
28 | "emacs-paredit" | 39 | "emacs-paredit" |
29 | "emacs-lsp-ivy" | 40 | "emacs-lsp-ivy" |
30 | "emacs-lsp-mode" | 41 | "emacs-lsp-mode" |
31 | "emacs-org-roam" | 42 | "emacs-org-roam" |
32 | "emacs-org-superstar" | 43 | "emacs-org-superstar" |
33 | "emacs-visual-fill-column" | ||
34 | "emacs-org" | 44 | "emacs-org" |
35 | "emacs-beacon" | 45 | "emacs-beacon" |
36 | "emacs-doom-modeline" | ||
37 | "emacs-all-the-icons" | 46 | "emacs-all-the-icons" |
38 | "emacs-which-key" | 47 | "emacs-which-key" |
39 | "emacs-counsel" | 48 | "emacs-counsel" |
40 | "emacs-ivy" | 49 | "emacs-ivy" |
41 | "emacs-hl-todo" | 50 | "emacs-hl-todo" |
42 | "emacs-diminish" | 51 | "emacs-diminish" |
43 | "emacs-doom-themes" | 52 | "emacs-solarized-theme" |
44 | "font-terminus" | 53 | "font-terminus" |
45 | "emacs-undo-tree" | 54 | "emacs-undo-tree" |
46 | "emacs-hydra" | 55 | "emacs-hydra" |
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index d4fc30a..96b81da 100755 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el | |||
@@ -55,7 +55,9 @@ | |||
55 | version-control t | 55 | version-control t |
56 | delete-old-versions t | 56 | delete-old-versions t |
57 | kept-new-versions 20 | 57 | kept-new-versions 20 |
58 | kept-old-versions 5) | 58 | kept-old-versions 5 |
59 | custom-file (concat user-emacs-directory | ||
60 | "custom.el")) | ||
59 | 61 | ||
60 | ;; (setq user-emacs-directory "~/.cache/emacs") | 62 | ;; (setq user-emacs-directory "~/.cache/emacs") |
61 | 63 | ||
@@ -120,3 +122,6 @@ | |||
120 | (setq gc-cons-threshold (* 2 1000 1000)) | 122 | (setq gc-cons-threshold (* 2 1000 1000)) |
121 | 123 | ||
122 | ;;; init.el ends here | 124 | ;;; init.el ends here |
125 | (put 'upcase-region 'disabled nil) | ||
126 | (put 'downcase-region 'disabled nil) | ||
127 | (put 'set-goal-column 'disabled nil) | ||
diff --git a/.emacs.d/jd/jd-custom.el b/.emacs.d/jd/jd-custom.el index 96d13c6..f48f761 100755 --- a/.emacs.d/jd/jd-custom.el +++ b/.emacs.d/jd/jd-custom.el | |||
@@ -17,6 +17,19 @@ | |||
17 | clipboard-file-path)) | 17 | clipboard-file-path)) |
18 | (find-file clipboard-out-image))) | 18 | (find-file clipboard-out-image))) |
19 | 19 | ||
20 | (defun jd/dired-open-file-in-kill-ring () | ||
21 | (interactive) | ||
22 | (let* ((last-killed (car kill-ring)) | ||
23 | (exists-p (file-exists-p last-killed)) | ||
24 | (dir-p (file-directory-p last-killed))) | ||
25 | (cond | ||
26 | ((not exists-p) (message "File doesn't exists!")) | ||
27 | (dir-p (dired last-killed)) | ||
28 | ((not dir-p) (find-file last-killed))))) | ||
29 | |||
30 | (global-set-key (kbd "C-c O") #'jd/dired-open-file-in-kill-ring) | ||
31 | |||
32 | |||
20 | (setq erc-nick "bobbma" | 33 | (setq erc-nick "bobbma" |
21 | erc-user-full-name "Jakub Dlugosz" | 34 | erc-user-full-name "Jakub Dlugosz" |
22 | erc-notify-list '("akuleszaa")) | 35 | erc-notify-list '("akuleszaa")) |
diff --git a/.emacs.d/jd/jd-dev.el b/.emacs.d/jd/jd-dev.el index d69313e..bd8d4ee 100755 --- a/.emacs.d/jd/jd-dev.el +++ b/.emacs.d/jd/jd-dev.el | |||
@@ -9,6 +9,7 @@ | |||
9 | (setq gdb-many-windows t) | 9 | (setq gdb-many-windows t) |
10 | 10 | ||
11 | (jd/use-package lsp-mode "emacs-lsp-mode" | 11 | (jd/use-package lsp-mode "emacs-lsp-mode" |
12 | :diminish t | ||
12 | :commands (lsp lsp-deferred) | 13 | :commands (lsp lsp-deferred) |
13 | :init | 14 | :init |
14 | (setq lsp-headerline-breadcrumb-enable nil) | 15 | (setq lsp-headerline-breadcrumb-enable nil) |
@@ -22,38 +23,33 @@ | |||
22 | :after lsp) | 23 | :after lsp) |
23 | 24 | ||
24 | (jd/use-package paredit "emacs-paredit") | 25 | (jd/use-package paredit "emacs-paredit") |
25 | ;; (jd/use-package evil-paredit "emacs-evil-paredit" | ||
26 | ;; :config | ||
27 | ;; (defun jd/lisp-mode-setup () | ||
28 | ;; (rainbow-delimiters-mode) | ||
29 | ;; (evil-paredit-mode) | ||
30 | ;; (paredit-mode)) | ||
31 | ;; (add-hook 'emacs-startup-hook | ||
32 | ;; (lambda () | ||
33 | ;; (add-hook 'scheme-mode-hook 'jd/lisp-mode-setup) | ||
34 | ;; (add-hook 'emacs-lisp-mode-hook 'jd/lisp-mode-setup) | ||
35 | ;; (add-hook 'clojure-mode-hook 'jd/lisp-mode-setup) | ||
36 | ;; (add-hook 'lisp-mode-hook 'jd/lisp-mode-setup))) | ||
37 | ;; (evil-define-key 'normal paredit-mode-map (kbd "g h") 'paredit-forward-barf-sexp) | ||
38 | ;; (evil-define-key 'normal paredit-mode-map (kbd "g l") 'paredit-forward-slurp-sexp) | ||
39 | ;; (evil-define-key 'normal paredit-mode-map (kbd "g H") 'paredit-backward-slurp-sexp) | ||
40 | ;; (evil-define-key 'normal paredit-mode-map (kbd "g L") 'paredit-backward-barf-sexp)) | ||
41 | (jd/use-package rainbow-delimiters "emacs-rainbow-delimiters") | ||
42 | 26 | ||
43 | (jd/use-package geiser "emacs-geiser") | 27 | (defun jd/lisp-mode-setup () |
44 | (jd/use-package geiser-guile "emacs-geiser-guile") | 28 | (rainbow-delimiters-mode) |
29 | (paredit-mode)) | ||
30 | |||
31 | (add-hook 'emacs-startup-hook | ||
32 | (lambda () | ||
33 | (add-hook 'scheme-mode-hook 'jd/lisp-mode-setup) | ||
34 | (add-hook 'emacs-lisp-mode-hook 'jd/lisp-mode-setup) | ||
35 | (add-hook 'clojure-mode-hook 'jd/lisp-mode-setup) | ||
36 | (add-hook 'lisp-mode-hook 'jd/lisp-mode-setup))) | ||
45 | 37 | ||
46 | ;; (defun jd/python-mode-setup () | 38 | (jd/use-package rainbow-delimiters "emacs-rainbow-delimiters") |
47 | ;; (let ((project-venv-path (concat (projectile-project-root) "venv/"))) | ||
48 | ;; (when (projectile--directory-p project-venv-path) | ||
49 | ;; (pyvenv-activate project-venv-path) | ||
50 | ;; (pyvenv-mode)))) | ||
51 | 39 | ||
52 | ;; (jd/use-package python-mode ;;TODO: find alternative | 40 | (jd/use-package sly "emacs-sly") |
53 | ;; :hook (python-mode . lsp-deferred) | 41 | |
54 | ;; :hook (python-mode . jd/python-mode-setup) | 42 | (jd/use-package geiser "emacs-geiser") |
55 | ;; :config | 43 | (jd/use-package geiser-racket "emacs-geiser-racket") |
56 | ;; (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))) | 44 | (jd/use-package racket-mode "emacs-racket-mode") |
45 | (jd/use-package geiser-guile "emacs-geiser-guile" | ||
46 | :config | ||
47 | (when jd/guix-p | ||
48 | (defun jd/guix-repl () | ||
49 | (interactive) | ||
50 | (let ((geiser-guile-binary '("guix" "repl")) | ||
51 | (geiser-guile-load-path (cons "~/dotfiles/guix" geiser-guile-load-path))) | ||
52 | (geiser 'guile))))) | ||
57 | 53 | ||
58 | (jd/use-package pyvenv "emacs-pyvenv" | 54 | (jd/use-package pyvenv "emacs-pyvenv" |
59 | :after python-mode) | 55 | :after python-mode) |
@@ -63,11 +59,7 @@ | |||
63 | :config | 59 | :config |
64 | (setq typescript-indent-level 2)) | 60 | (setq typescript-indent-level 2)) |
65 | 61 | ||
66 | ;; (defun jd/activate-tide-mode () | 62 | (jd/use-package cider "emacs-cider") |
67 | ;; (when (and (stringp buffer-file-name) | ||
68 | ;; (string-match "\\.[tj]sx?\\'" buffer-file-name)) | ||
69 | ;; (tide-setup) | ||
70 | ;; (tide-hl-identifier-mode))) | ||
71 | 63 | ||
72 | (jd/use-package tide "emacs-tide" | 64 | (jd/use-package tide "emacs-tide" |
73 | :after (typescript-mode company web-mode)) | 65 | :after (typescript-mode company web-mode)) |
@@ -94,6 +86,9 @@ | |||
94 | (jd/use-package yaml-mode "emacs-yaml-mode") | 86 | (jd/use-package yaml-mode "emacs-yaml-mode") |
95 | 87 | ||
96 | (jd/use-package docker "emacs-docker" | 88 | (jd/use-package docker "emacs-docker" |
89 | :bind | ||
90 | ("C-c D d" . docker-containers) | ||
91 | ("C-c D D" . docker) | ||
97 | :config | 92 | :config |
98 | (jd/leader-key-def | 93 | (jd/leader-key-def |
99 | "d" '(:ignore t :which-key "Docker") | 94 | "d" '(:ignore t :which-key "Docker") |
@@ -101,6 +96,7 @@ | |||
101 | "dd" '(docker :which-key "Docker"))) | 96 | "dd" '(docker :which-key "Docker"))) |
102 | 97 | ||
103 | (jd/use-package company "emacs-company" | 98 | (jd/use-package company "emacs-company" |
99 | :diminish t | ||
104 | :after lsp-mode | 100 | :after lsp-mode |
105 | :hook (lsp-mode . company-mode) | 101 | :hook (lsp-mode . company-mode) |
106 | :bind (:map company-active-map | 102 | :bind (:map company-active-map |
@@ -114,6 +110,7 @@ | |||
114 | (global-company-mode)) | 110 | (global-company-mode)) |
115 | 111 | ||
116 | (jd/use-package company-box "emacs-company-box" | 112 | (jd/use-package company-box "emacs-company-box" |
113 | :diminish t | ||
117 | :hook (company-mode . company-box-mode)) | 114 | :hook (company-mode . company-box-mode)) |
118 | 115 | ||
119 | (jd/use-package projectile "emacs-projectile" | 116 | (jd/use-package projectile "emacs-projectile" |
@@ -135,15 +132,6 @@ | |||
135 | :init | 132 | :init |
136 | (setq neo-theme 'icons) | 133 | (setq neo-theme 'icons) |
137 | :config | 134 | :config |
138 | |||
139 | ;; (evil-define-key 'normal neotree-mode-map (kbd "TAB") 'neotree-enter) | ||
140 | ;; (evil-define-key 'normal neotree-mode-map (kbd "C-RET") 'neotree-quick-look) | ||
141 | ;; (evil-define-key 'normal neotree-mode-map (kbd "q") 'neotree-hide) | ||
142 | ;; (evil-define-key 'normal neotree-mode-map (kbd "RET") 'neotree-enter) | ||
143 | ;; (evil-define-key 'normal neotree-mode-map (kbd "g") 'neotree-refresh) | ||
144 | ;; (evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle) | ||
145 | ;; (evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle) | ||
146 | |||
147 | (jd/leader-key-def | 135 | (jd/leader-key-def |
148 | "op" '(jd/neotree-project-dir :which-key "Open neotree")) | 136 | "op" '(jd/neotree-project-dir :which-key "Open neotree")) |
149 | 137 | ||
@@ -162,11 +150,16 @@ | |||
162 | 150 | ||
163 | (jd/use-package magit "emacs-magit" | 151 | (jd/use-package magit "emacs-magit" |
164 | :custom | 152 | :custom |
165 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1) | 153 | (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)) |
166 | 154 | ||
167 | (jd/leader-key-def | 155 | (jd/use-package restclient "emacs-restclient") |
168 | "g" '(:ignore t :which-key "Git") | 156 | |
169 | "gg" '(magit-status-here :which-key "Magit status"))) | 157 | (setq sql-connection-alist |
158 | '(("net47-abaks" | ||
159 | (sql-product 'postgres) | ||
160 | (sql-user "kuba") | ||
161 | (sql-database "net47") | ||
162 | (sql-server "net47.abaks.pl")))) | ||
170 | 163 | ||
171 | (provide 'jd-dev) | 164 | (provide 'jd-dev) |
172 | 165 | ||
diff --git a/.emacs.d/jd/jd-exwm.el b/.emacs.d/jd/jd-exwm.el index ed1c673..f083c44 100755 --- a/.emacs.d/jd/jd-exwm.el +++ b/.emacs.d/jd/jd-exwm.el | |||
@@ -4,6 +4,8 @@ | |||
4 | ;;; Code: | 4 | ;;; Code: |
5 | 5 | ||
6 | 6 | ||
7 | (jd/use-package perspective "emacs-perspective") | ||
8 | |||
7 | (jd/use-package exwm "emacs-exwm" | 9 | (jd/use-package exwm "emacs-exwm" |
8 | :config | 10 | :config |
9 | (defun jd/exwm-update-class () | 11 | (defun jd/exwm-update-class () |
@@ -73,6 +75,7 @@ | |||
73 | ?\M-` | 75 | ?\M-` |
74 | ?\M-& | 76 | ?\M-& |
75 | ?\M-! | 77 | ?\M-! |
78 | ?\C-g | ||
76 | ?\M-: | 79 | ?\M-: |
77 | ?\C-\M-j | 80 | ?\C-\M-j |
78 | ?\C-\ )) | 81 | ?\C-\ )) |
@@ -114,27 +117,24 @@ | |||
114 | (defun jd/dunst-show-history () | 117 | (defun jd/dunst-show-history () |
115 | (interactive) | 118 | (interactive) |
116 | (start-process-shell-command "dunstctl" nil "dunstctl history-pop")) | 119 | (start-process-shell-command "dunstctl" nil "dunstctl history-pop")) |
120 | (global-set-key (kbd "C-c N h") #'jd/dunst-show-history) | ||
117 | 121 | ||
118 | (defun jd/dunst-close () | 122 | (defun jd/dunst-close () |
119 | (interactive) | 123 | (interactive) |
120 | (start-process-shell-command "dunstctl" nil "dunstctl close")) | 124 | (start-process-shell-command "dunstctl" nil "dunstctl close")) |
125 | (global-set-key (kbd "C-c N c") #'jd/dunst-close) | ||
121 | 126 | ||
122 | (defun jd/dunst-close-all () | 127 | (defun jd/dunst-close-all () |
123 | (interactive) | 128 | (interactive) |
124 | (start-process-shell-command "dunstctl" nil "dunstctl close-all")) | 129 | (start-process-shell-command "dunstctl" nil "dunstctl close-all")) |
125 | 130 | (global-set-key (kbd "C-c N a") #'jd/dunst-close-all) | |
126 | (jd/leader-key-def | ||
127 | "d" '(nil :which-key "dunst") | ||
128 | "dh" '(jd/dunst-show-history :which-key "show history") | ||
129 | "dc" '(jd/dunst-close :which-key "close") | ||
130 | "da" '(jd/dunst-close-all :which-key "close all")) | ||
131 | 131 | ||
132 | (desktop-environment-mode)) | 132 | (desktop-environment-mode)) |
133 | 133 | ||
134 | (set-frame-parameter (selected-frame) 'alpha '(90 . 90)) | 134 | ;; (set-frame-parameter (selected-frame) 'alpha '(90 . 90)) |
135 | (add-to-list 'default-frame-alist `(alpha . (90 . 90))) | 135 | ;; (add-to-list 'default-frame-alist `(alpha . (90 . 90))) |
136 | (set-frame-parameter (selected-frame) 'fullscreen 'maximized) | 136 | ;; (set-frame-parameter (selected-frame) 'fullscreen 'maximized) |
137 | (add-to-list 'default-frame-alist '(fullscreen . maximized)) | 137 | ;; (add-to-list 'default-frame-alist '(fullscreen . maximized)) |
138 | 138 | ||
139 | (defun jd-exwm/get-color (ATTRIBUTE) | 139 | (defun jd-exwm/get-color (ATTRIBUTE) |
140 | (face-attribute 'default ATTRIBUTE)) | 140 | (face-attribute 'default ATTRIBUTE)) |
diff --git a/.emacs.d/jd/jd-mu4e.el b/.emacs.d/jd/jd-mu4e.el index e97c4fc..cb81c5c 100755 --- a/.emacs.d/jd/jd-mu4e.el +++ b/.emacs.d/jd/jd-mu4e.el | |||
@@ -3,77 +3,84 @@ | |||
3 | 3 | ||
4 | (jd/use-package htmlize "emacs-htmlize") | 4 | (jd/use-package htmlize "emacs-htmlize") |
5 | 5 | ||
6 | ; (jd/add-package-to-manifest "mbsync") ;; TODO: Define guix mbsync package? | 6 | (jd/add-package-to-manifest "isync") |
7 | 7 | ||
8 | (jd/use-package mu4e "mu" | 8 | (jd/use-package mu4e "mu" |
9 | :defer 10 | 9 | :defer 10 |
10 | :ensure nil | 10 | :ensure nil |
11 | :config | 11 | :bind |
12 | (require 'org-mu4e) | 12 | ("C-c M" . mu4e) |
13 | :config | ||
14 | ;a (require 'org-mu4e) | ||
13 | 15 | ||
14 | (setq mu4e-mu-binary "/usr/local/bin/mu") | 16 | (if jd/guix-p |
15 | (setq mu4e-update-interval (* 10 60)) | 17 | (setq mu4e-mu-binary "/home/jakub/.guix-extra-profiles/emacs/emacs/bin/mu") |
16 | (setq mu4e-get-mail-command "mbsync -a") | 18 | (setq mu4e-mu-binary "/usr/local/bin/mu")) |
17 | (setq mu4e-maildir "~/Mail") | ||
18 | 19 | ||
19 | (setq mu4e-completing-read-function #'ivy-completing-read) | 20 | (setq mu4e-update-interval (* 10 60)) |
21 | (setq mu4e-get-mail-command "mbsync -a") | ||
22 | (setq mu4e-maildir "~/Mail") | ||
20 | 23 | ||
21 | (setq mu4e-change-filenames-when-moving t) | 24 | (setq mu4e-completing-read-function #'ivy-completing-read) |
22 | 25 | ||
23 | (setq mu4e-contexts | 26 | (setq mu4e-change-filenames-when-moving t) |
24 | `(,(make-mu4e-context | ||
25 | :name "Abaks" | ||
26 | :match-func (lambda (msg) (when msg | ||
27 | (string-prefix-p "/abaks" (mu4e-message-field msg :maildir)))) | ||
28 | :vars '( | ||
29 | (user-full-name . "Jakub Dlugosz") | ||
30 | (user-mail-address . "jakub@abaks.pl") | ||
31 | (mu4e-sent-folder . "/abaks/Sent Items") | ||
32 | (mu4e-trash-folder . "/abaks/Trash") | ||
33 | (mu4e-drafts-folder . "/abaks/Drafts") | ||
34 | (mu4e-refile-folder . "/abaks/Archive") | ||
35 | (smtpmail-local-domain . "pl") | ||
36 | (smtpmail-smtp-server . "smtp.abaks.pl") | ||
37 | (mu4e-sent-messages-behavior . sent) | ||
38 | )) | ||
39 | ,(make-mu4e-context | ||
40 | :name "Gmail" | ||
41 | :match-func (lambda (msg) (when msg | ||
42 | (string-prefix-p "/gmail" (mu4e-message-field msg :maildir)))) | ||
43 | :vars '( | ||
44 | (user-full-name . "Jakub Dlugosz") | ||
45 | (user-mail-address . "jdlugosz963@gmail.com") | ||
46 | (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane") | ||
47 | (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz") | ||
48 | (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze") | ||
49 | (mu4e-refile-folder . "/gmail/Archive") | ||
50 | (smtpmail-local-domain . "com") | ||
51 | (smtpmail-smtp-server . "smtp.gmail.com") | ||
52 | (mu4e-sent-messages-behavior . sent) | ||
53 | )))) | ||
54 | 27 | ||
55 | (setq mail-user-agent 'mu4e-user-agent | 28 | (setq mu4e-contexts |
56 | mail-host-address nil | 29 | `(,(make-mu4e-context |
57 | message-send-mail-function 'smtpmail-send-it | 30 | :name "Abaks" |
58 | smtpmail-smtp-service 465 | 31 | :match-func (lambda (msg) (when msg |
59 | smtpmail-stream-type 'ssl) | 32 | (string-prefix-p "/abaks" (mu4e-message-field msg :maildir)))) |
33 | :vars '( | ||
34 | (user-full-name . "Jakub Dlugosz") | ||
35 | (user-mail-address . "jakub@abaks.pl") | ||
36 | (mu4e-sent-folder . "/abaks/Sent Items") | ||
37 | (mu4e-trash-folder . "/abaks/Trash") | ||
38 | (mu4e-drafts-folder . "/abaks/Drafts") | ||
39 | (mu4e-refile-folder . "/abaks/Archive") | ||
40 | (mu4e-sent-messages-behavior . sent) | ||
41 | (smtpmail-local-domain . "pl") | ||
42 | (smtpmail-smtp-server . "smtp.abaks.pl") | ||
43 | (smtpmail-smtp-user . "jakub@abaks.pl"))) | ||
44 | ,(make-mu4e-context | ||
45 | :name "Gmail" | ||
46 | :match-func (lambda (msg) (when msg | ||
47 | (string-prefix-p "/gmail" (mu4e-message-field msg :maildir)))) | ||
48 | :vars '( | ||
49 | (user-full-name . "Jakub Dlugosz") | ||
50 | (user-mail-address . "jdlugosz963@gmail.com") | ||
51 | (mu4e-sent-folder . "/gmail/\[Gmail\]/Wys\&AUI-ane") | ||
52 | (mu4e-trash-folder . "/gmail/\[Gmail\]/Kosz") | ||
53 | (mu4e-drafts-folder . "/gmail/\[Gmail\]/Wersje\ robocze") | ||
54 | (mu4e-refile-folder . "/gmail/Archive") | ||
55 | (smtpmail-local-domain . "com") | ||
56 | (smtpmail-smtp-server . "smtp.gmail.com") | ||
57 | (smtpmail-smtp-user . "jdlugosz963@gmail.com") | ||
58 | (mu4e-sent-messages-behavior . sent))))) | ||
60 | 59 | ||
61 | (setq mu4e-compose-signature (concat | 60 | (setq mail-user-agent 'mu4e-user-agent |
62 | "Pozdrawiam,\n" | 61 | mail-host-address nil |
63 | "Jakub Długosz")) | 62 | message-send-mail-function 'smtpmail-send-it |
63 | smtpmail-smtp-service 465 | ||
64 | smtpmail-stream-type 'ssl | ||
65 | smtpmail-servers-requiring-authorization ".*") | ||
64 | 66 | ||
65 | (mu4e t)) | 67 | (setq mu4e-compose-signature (concat |
68 | "Pozdrawiam,\n" | ||
69 | "Jakub Długosz")) | ||
70 | |||
71 | (mu4e t) | ||
72 | (mu4e-modeline-mode nil)) | ||
66 | 73 | ||
67 | (jd/use-package mu4e-alert "emacs-mu4e-alert" | 74 | (jd/use-package mu4e-alert "emacs-mu4e-alert" |
68 | :defer 20 | 75 | :defer 20 |
69 | :config | 76 | :config |
70 | (mu4e-alert-set-default-style 'libnotify) | 77 | (mu4e-alert-set-default-style 'libnotify) |
71 | (mu4e-alert-enable-mode-line-display) | 78 | (mu4e-alert-enable-mode-line-display) |
72 | (mu4e-alert-enable-notifications) | 79 | (mu4e-alert-enable-notifications) |
73 | 80 | ||
74 | (jd/leader-key-def | 81 | (jd/leader-key-def |
75 | "m" '(:ignore t :which-key "mail") | 82 | "m" '(:ignore t :which-key "mail") |
76 | "mm" 'mu4e | 83 | "mm" 'mu4e |
77 | "mc" 'mu4e-compose-new)) | 84 | "mc" 'mu4e-compose-new)) |
78 | 85 | ||
79 | (provide 'jd-mu4e) | 86 | (provide 'jd-mu4e) |
diff --git a/.emacs.d/jd/jd-org.el b/.emacs.d/jd/jd-org.el index cd05d72..fe273c3 100755 --- a/.emacs.d/jd/jd-org.el +++ b/.emacs.d/jd/jd-org.el | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | (defvar jd/org-home "~/Documents/Org") | 6 | (defvar jd/org-home "~/Documents/Org") |
7 | (defvar jd/org-roam-home (concat jd/org-home "/roam")) | 7 | (defvar jd/org-roam-home (concat jd/org-home "/roam")) |
8 | (defvar jd/org-roam-daily-home (concat jd/org-home "/roam/daily")) | 8 | (defvar jd/org-roam-daily-home (concat jd/org-roam-home "/daily")) |
9 | 9 | ||
10 | (defun jd/org-mode-init () | 10 | (defun jd/org-mode-init () |
11 | (org-indent-mode) | 11 | (org-indent-mode) |
@@ -20,12 +20,16 @@ | |||
20 | :pin org | 20 | :pin org |
21 | :commands (org-capture org-agenda) | 21 | :commands (org-capture org-agenda) |
22 | :hook (org-mode . jd/org-mode-init) | 22 | :hook (org-mode . jd/org-mode-init) |
23 | :bind | ||
24 | ("C-c o c" . #'org-capture) | ||
25 | ("C-c o p" . #'org-mobile-pull) | ||
26 | ("C-c o P" . #'org-mobile-push) | ||
27 | ("C-c o a" . #'org-agenda) | ||
23 | :config | 28 | :config |
24 | (setq org-directory (file-truename "~/Documents/Org/")) | 29 | (setq org-directory (file-truename "~/Documents/Org/")) |
25 | (setq org-mobile-inbox-for-pull (concat org-directory "flagged.org")) | 30 | (setq org-mobile-inbox-for-pull (concat org-directory "flagged.org")) |
26 | (setq org-mobile-directory "~/Dropbox/Apps/MobileOrg") | 31 | (setq org-mobile-directory "~/Documents/Org/Mobile/") |
27 | (setq org-agenda-files | 32 | (setq org-agenda-files '("Tasks.org" "Inbox.org" "Habits.org")) |
28 | '("Tasks.org")) | ||
29 | (setq org-ellipsis " ▾") | 33 | (setq org-ellipsis " ▾") |
30 | (setq org-agenda-start-with-log-mode t) | 34 | (setq org-agenda-start-with-log-mode t) |
31 | (setq org-log-done 'time) | 35 | (setq org-log-done 'time) |
@@ -50,12 +54,14 @@ | |||
50 | "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")) | 54 | "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")) |
51 | (require 'org-tempo) | 55 | (require 'org-tempo) |
52 | 56 | ||
57 | |||
53 | (jd/leader-key-def | 58 | (jd/leader-key-def |
54 | "o" '(:ignore t :which-key "Open/Org") | 59 | "o" '(:ignore t :which-key "Open/Org") |
55 | "oc" '(org-capture :which-key "Open org-capture") | 60 | "oc" '(org-capture :which-key "Open org-capture") |
56 | "oop" '(org-mobile-pull :which-key "Org mobile pull") | 61 | "oop" '(org-mobile-pull :which-key "Org mobile pull") |
57 | "ooP" '(org-mobile-push :which-key "Org mobile push") | 62 | "ooP" '(org-mobile-push :which-key "Org mobile push") |
58 | "oa" '(org-agenda :which-key "Open org-agenda")) | 63 | "oa" '(org-agenda :which-key "Open org-agenda")) |
64 | |||
59 | 65 | ||
60 | (defun jd/org-font-setup () | 66 | (defun jd/org-font-setup () |
61 | ;; Replace list hyphen with dot | 67 | ;; Replace list hyphen with dot |
@@ -122,21 +128,7 @@ | |||
122 | (org-babel-tangle)))) | 128 | (org-babel-tangle)))) |
123 | 129 | ||
124 | (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'jd/org-babel-tangle-config))) | 130 | (add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'jd/org-babel-tangle-config))) |
125 | 131 | ) | |
126 | (defun jd/org-mode-visual-fill () | ||
127 | (setq visual-fill-column-width 100 | ||
128 | visual-fill-column-center-text t) | ||
129 | (visual-fill-column-mode 1))) | ||
130 | |||
131 | ;; (jd/use-package evil-org "emacs-evil-org" | ||
132 | ;; :after org | ||
133 | ;; :hook (org-mode . (lambda () evil-org-mode)) | ||
134 | ;; :config | ||
135 | ;; (require 'evil-org-agenda) | ||
136 | ;; (evil-org-agenda-set-keys)) | ||
137 | |||
138 | (jd/use-package visual-fill-column "emacs-visual-fill-column" | ||
139 | :hook (org-mode . jd/org-mode-visual-fill)) | ||
140 | 132 | ||
141 | (jd/use-package org-superstar "emacs-org-superstar" | 133 | (jd/use-package org-superstar "emacs-org-superstar" |
142 | :hook (org-mode . org-superstar-mode) | 134 | :hook (org-mode . org-superstar-mode) |
@@ -145,7 +137,6 @@ | |||
145 | (setq org-superstar-remove-leading-stars t) | 137 | (setq org-superstar-remove-leading-stars t) |
146 | (setq org-superstar-headline-bullets-list '("◉" "○" "●" "○" "●" "○" "●"))) | 138 | (setq org-superstar-headline-bullets-list '("◉" "○" "●" "○" "●" "○" "●"))) |
147 | 139 | ||
148 | ; (jd/add-package-to-manifest "emacs-emacsql-sqlite3") | ||
149 | (jd/use-package org-roam "emacs-org-roam" | 140 | (jd/use-package org-roam "emacs-org-roam" |
150 | :custom | 141 | :custom |
151 | (org-roam-directory (file-truename jd/org-roam-home)) | 142 | (org-roam-directory (file-truename jd/org-roam-home)) |
diff --git a/.emacs.d/jd/jd-ui.el b/.emacs.d/jd/jd-ui.el index 1c44a65..7ccab23 100755 --- a/.emacs.d/jd/jd-ui.el +++ b/.emacs.d/jd/jd-ui.el | |||
@@ -22,12 +22,11 @@ | |||
22 | 22 | ||
23 | (defalias 'yes-or-no-p 'y-or-n-p) | 23 | (defalias 'yes-or-no-p 'y-or-n-p) |
24 | 24 | ||
25 | (jd/use-package doom-themes "emacs-doom-themes" | 25 | (require 'diminish) |
26 | :config | ||
27 | ;; (load-theme 'manoj-black t) | ||
28 | ) | ||
29 | 26 | ||
30 | (load-theme 'manoj-dark t) | 27 | (jd/use-package solarized-theme "emacs-solarized-theme" |
28 | :config | ||
29 | (load-theme 'solarized-selenized-black t)) | ||
31 | 30 | ||
32 | (jd/use-package diminish "emacs-diminish") | 31 | (jd/use-package diminish "emacs-diminish") |
33 | 32 | ||
@@ -55,30 +54,25 @@ | |||
55 | (jd/use-package ivy "emacs-ivy" | 54 | (jd/use-package ivy "emacs-ivy" |
56 | :diminish | 55 | :diminish |
57 | :bind | 56 | :bind |
58 | (("C-s" . swiper) | 57 | (("C-s" . swiper)) |
59 | ;; :map ivy-minibuffer-map | ||
60 | ;; ("C-k" . ivy-previous-line) | ||
61 | ;; ("C-j" . ivy-next-line) | ||
62 | ;; :map ivy-switch-buffer-map | ||
63 | ;; ("C-k" . ivy-previous-line) | ||
64 | ) | ||
65 | :config | 58 | :config |
66 | (ivy-mode 1)) | 59 | (ivy-mode 1)) |
67 | 60 | ||
68 | (jd/use-package counsel "emacs-counsel" | 61 | (jd/use-package counsel "emacs-counsel" |
62 | :diminish t | ||
69 | :config | 63 | :config |
70 | (counsel-mode 1) | 64 | (counsel-mode 1) |
71 | 65 | ||
72 | (jd/leader-key-def | 66 | (jd/leader-key-def |
73 | "t" '(:ignore t :which-key "Toggle") | 67 | "t" '(:ignore t :which-key "Toggle") |
74 | "tT" '(toggle-truncate-lines :which-key "Toggle truncate lines") | 68 | "tT" '(toggle-truncate-lines :which-key "Toggle truncate lines") |
75 | "tt" '(jd/load-theme :which-key "Choose theme")) | 69 | "tt" '(jd/load-theme :which-key "Choose theme")) |
76 | 70 | ||
77 | (jd/leader-key-def | 71 | (jd/leader-key-def |
78 | "bb" '(jd/switch-buffer :which-key "Buffer switch") | 72 | "bb" '(jd/switch-buffer :which-key "Buffer switch") |
79 | "ba" '(counsel-switch-buffer :which-key "Buffer switch") | 73 | "ba" '(counsel-switch-buffer :which-key "Buffer switch") |
80 | "b" '(:ignore t :which-key "Buffer") | 74 | "b" '(:ignore t :which-key "Buffer") |
81 | "," '(counsel-switch-buffer :which-key "Buffer switch"))) | 75 | "," '(counsel-switch-buffer :which-key "Buffer switch"))) |
82 | 76 | ||
83 | (jd/use-package which-key "emacs-which-key" | 77 | (jd/use-package which-key "emacs-which-key" |
84 | :diminish | 78 | :diminish |
@@ -88,14 +82,17 @@ | |||
88 | 82 | ||
89 | (jd/use-package all-the-icons "emacs-all-the-icons") | 83 | (jd/use-package all-the-icons "emacs-all-the-icons") |
90 | 84 | ||
91 | (jd/use-package doom-modeline "emacs-doom-modeline" | ||
92 | ; :init (doom-modeline-mode 0) | ||
93 | :custom ((doom-modeline-height 15))) | ||
94 | 85 | ||
95 | (jd/use-package beacon "emacs-beacon" | 86 | (jd/use-package beacon "emacs-beacon" |
96 | :config | 87 | :config |
97 | (beacon-mode 1)) | 88 | (beacon-mode 1)) |
98 | 89 | ||
90 | (setq display-time-string-forms | ||
91 | '(" " 24-hours ":" minutes " ")) | ||
92 | |||
93 | (when jd/exwm-p | ||
94 | (display-battery-mode) | ||
95 | (display-time-mode)) | ||
99 | 96 | ||
100 | (provide 'jd-ui) | 97 | (provide 'jd-ui) |
101 | 98 | ||
diff --git a/guix/jd/desktops/base.scm b/guix/jd/desktops/base.scm index 656c622..13bc5af 100644 --- a/guix/jd/desktops/base.scm +++ b/guix/jd/desktops/base.scm | |||
@@ -15,7 +15,8 @@ | |||
15 | #:use-module (nongnu packages linux) | 15 | #:use-module (nongnu packages linux) |
16 | #:use-module (nongnu system linux-initrd)) | 16 | #:use-module (nongnu system linux-initrd)) |
17 | 17 | ||
18 | (use-package-modules wm gnome gnupg networking) | 18 | (use-package-modules wm gnome gnupg networking virtualization |
19 | lisp lisp-xyz) | ||
19 | (use-service-modules cups desktop networking ssh xorg | 20 | (use-service-modules cups desktop networking ssh xorg |
20 | docker virtualization pm sound dbus) | 21 | docker virtualization pm sound dbus) |
21 | 22 | ||
@@ -46,12 +47,13 @@ | |||
46 | ("VISUAL" . "emacsclient") | 47 | ("VISUAL" . "emacsclient") |
47 | ("EDITOR" . "emacsclient") | 48 | ("EDITOR" . "emacsclient") |
48 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") | 49 | ("PATH" . "$HOME/.bin:$HOME/.npm-global/bin:$PATH") |
49 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"))) | 50 | ("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share") |
51 | ("SBCL_HOME" . "/run/current-system/profile/lib/sbcl/"))) | ||
50 | 52 | ||
51 | (service home-gpg-agent-service-type | 53 | (service home-gpg-agent-service-type |
52 | (home-gpg-agent-configuration | 54 | (home-gpg-agent-configuration |
53 | (pinentry-program | 55 | (pinentry-program |
54 | (file-append pinentry "/bin/pinentry")) | 56 | (file-append pinentry "/bin/pinentry")) |
55 | (ssh-support? #t) | 57 | (ssh-support? #t) |
56 | (default-cache-ttl 28800) | 58 | (default-cache-ttl 28800) |
57 | (max-cache-ttl 28800) | 59 | (max-cache-ttl 28800) |
@@ -83,6 +85,26 @@ | |||
83 | ))) | 85 | ))) |
84 | %base-user-accounts)) | 86 | %base-user-accounts)) |
85 | 87 | ||
88 | (define-public %stumpwm-packages | ||
89 | (list sbcl | ||
90 | sbcl-dbus | ||
91 | stumpwm+slynk | ||
92 | |||
93 | sbcl-stumpwm-screenshot | ||
94 | sbcl-stumpwm-pamixer | ||
95 | sbcl-stumpwm-pass | ||
96 | |||
97 | sbcl-stumpwm-cpu | ||
98 | sbcl-stumpwm-mem | ||
99 | sbcl-stumpwm-net | ||
100 | sbcl-stumpwm-battery-portable | ||
101 | sbcl-stumpwm-stumptray | ||
102 | |||
103 | sbcl-drakma | ||
104 | sbcl-yason | ||
105 | |||
106 | (list stumpwm "lib"))) | ||
107 | |||
86 | (define-public %jd-base-packages | 108 | (define-public %jd-base-packages |
87 | (append | 109 | (append |
88 | (specifications->packages '("emacs" | 110 | (specifications->packages '("emacs" |
@@ -96,18 +118,25 @@ | |||
96 | "intel-vaapi-driver" | 118 | "intel-vaapi-driver" |
97 | "libva-utils" ;; vainfo | 119 | "libva-utils" ;; vainfo |
98 | "nss-certs")) | 120 | "nss-certs")) |
121 | %stumpwm-packages | ||
99 | %base-packages)) | 122 | %base-packages)) |
100 | 123 | ||
124 | |||
101 | (define-public %jd-base-services | 125 | (define-public %jd-base-services |
102 | (cons* | 126 | (cons* |
103 | (service openssh-service-type) | 127 | (service openssh-service-type) |
104 | 128 | ||
129 | (set-xorg-configuration | ||
130 | (xorg-configuration ;for Xorg | ||
131 | (keyboard-layout (keyboard-layout "pl")))) | ||
132 | |||
105 | (service network-manager-service-type | 133 | (service network-manager-service-type |
106 | (network-manager-configuration | 134 | (network-manager-configuration |
107 | (vpn-plugins (list | 135 | (vpn-plugins (list |
108 | network-manager-pptp)))) | 136 | network-manager-pptp)))) |
109 | 137 | ||
110 | (simple-service 'blueman dbus-root-service-type (list blueman)) | 138 | (simple-service 'dbus-packages dbus-root-service-type (list blueman |
139 | virt-manager)) | ||
111 | (service bluetooth-service-type | 140 | (service bluetooth-service-type |
112 | (bluetooth-configuration | 141 | (bluetooth-configuration |
113 | (auto-enable? #t))) | 142 | (auto-enable? #t))) |
@@ -116,6 +145,7 @@ | |||
116 | (service libvirt-service-type | 145 | (service libvirt-service-type |
117 | (libvirt-configuration | 146 | (libvirt-configuration |
118 | (unix-sock-group "libvirt"))) | 147 | (unix-sock-group "libvirt"))) |
148 | (service virtlog-service-type) | ||
119 | 149 | ||
120 | (service cups-service-type | 150 | (service cups-service-type |
121 | (cups-configuration | 151 | (cups-configuration |
@@ -129,7 +159,6 @@ | |||
129 | 159 | ||
130 | polkit-network-manager-service | 160 | polkit-network-manager-service |
131 | 161 | ||
132 | (service lxqt-desktop-service-type) ;; Just in case, if Emacs doesn't want to work. | ||
133 | (modify-services %desktop-services | 162 | (modify-services %desktop-services |
134 | (delete network-manager-service-type)))) | 163 | (delete network-manager-service-type)))) |
135 | 164 | ||
diff --git a/guix/jd/desktops/berserker.scm b/guix/jd/desktops/berserker.scm index 37135dc..ed673db 100755 --- a/guix/jd/desktops/berserker.scm +++ b/guix/jd/desktops/berserker.scm | |||
@@ -13,25 +13,27 @@ | |||
13 | (host-name "berserker") | 13 | (host-name "berserker") |
14 | 14 | ||
15 | (bootloader (bootloader-configuration | 15 | (bootloader (bootloader-configuration |
16 | (bootloader grub-efi-bootloader) | 16 | (bootloader grub-efi-bootloader) |
17 | (targets (list "/boot/efi")))) | 17 | (targets (list "/boot/efi")))) |
18 | 18 | ||
19 | (mapped-devices (list (mapped-device | 19 | (swap-devices (list (swap-space |
20 | (source (uuid | 20 | (target (uuid |
21 | "ef754148-6f23-4d7e-92b4-7abbfe0ae201")) | 21 | "70ee2477-66ff-4856-aebf-8a77053c4462"))))) |
22 | (target "cryptroot") | ||
23 | (type luks-device-mapping)))) | ||
24 | 22 | ||
25 | (file-systems (cons* (file-system | 23 | (file-systems (cons* (file-system |
26 | (mount-point "/boot/efi") | 24 | (mount-point "/boot/efi") |
27 | (device (uuid "695E-FE22" | 25 | (device (uuid "BE9B-69F0" |
28 | 'fat32)) | 26 | 'fat32)) |
29 | (type "vfat")) | 27 | (type "vfat")) |
28 | |||
30 | (file-system | 29 | (file-system |
31 | (mount-point "/") | 30 | (mount-point "/") |
32 | (device "/dev/mapper/cryptroot") | 31 | (device (uuid |
33 | (type "ext4") | 32 | "d8783299-c180-4ca3-9c56-9826797f928d" |
34 | (dependencies mapped-devices)) %base-file-systems)))) | 33 | 'ext4)) |
34 | (type "ext4")) | ||
35 | |||
36 | %base-file-systems)))) | ||
35 | 37 | ||
36 | 38 | ||
37 | (if (getenv "JD_HOME") home system) | 39 | (if (getenv "JD_HOME") home system) |