summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'config.org')
-rw-r--r--config.org17
1 files changed, 15 insertions, 2 deletions
diff --git a/config.org b/config.org
index a5281d5..c5fd719 100644
--- a/config.org
+++ b/config.org
@@ -9,7 +9,9 @@
;;; config.el --- Emacs-Kick --- A feature rich Emacs config for (neo)vi(m)mers -*- lexical-binding: t; -*-
(pixel-scroll-precision-mode 1)
(setq pgtk-wait-for-event-timeout 0.001)
-(setq package-enable-at-startup nil)
+(setq package-enable-at-startup nil
+ ;; Local modules are edited independently of their optional byte-code files, so never let an older .elc silently shadow newer source.
+ load-prefer-newer t)
;; (setq-default mode-line-format t) ;; disabled: boolean t is not valid for mode-line-format
(add-to-list 'default-frame-alist '(undecorated . t))
;; GC + file-name-handler-alist tuning lives in early-init.el now.
@@ -4765,6 +4767,12 @@ place. `C-c C-c' commits, `C-c C-k' aborts."
(kbd "C-k") #'helm-previous-line
(kbd "C-z") #'helm-toggle-full-frame
(kbd "C-g") #'helm-keyboard-quit)
+(evil-define-key '(normal insert) helm-find-files-map
+ ;; Preserve Helm's directory-aware RET behavior instead of inheriting
+ ;; `helm-maybe-exit-minibuffer' from Evil Collection's generic Helm map.
+ (kbd "RET") #'helm-ff-RET)
+(evil-define-key '(normal insert) helm-read-file-map
+ (kbd "RET") #'helm-ff-RET)
(evil-define-key 'normal helm-map
(kbd "<escape>") #'helm-keyboard-quit
(kbd "c") #'evil-collection-change-in-minibuffer
@@ -5577,10 +5585,15 @@ opening another file in same project does not re-notify."
* zfs.el
+Privileged ZFS operations stay non-interactive by default. Unlocking runs authentication, =cryptsetup=, ZFS label detection and pool import as one interactive =doas= operation, because OpenDoas binds its =persist= timestamp to the process session and Emacs creates a fresh session for each external command. Copland's PAM SSH-agent authentication asks for the Nitrokey PIN, while the LUKS passphrase is passed only to =cryptsetup=.
+
#+begin_src emacs-lisp
(use-package zfs
:ensure nil
- :commands (zfs))
+ :commands (zfs)
+ :custom
+ (zfs-privileged-command '("doas" "-n"))
+ (zfs-authentication-command '("doas")))
#+end_src
* minimal-dashboard