summaryrefslogtreecommitdiff
path: root/custom-vars.el
blob: 74ae120272c357210bbe40c7a3302737fa431226 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
;;; -*- lexical-binding: t -*-
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-safe-themes
   '("01f347a923dd21661412d4c5a7c7655bf17fb311b57ddbdbd6fce87bd7e58de6"
     "d43860349c9f7a5b96a090ecf5f698ff23a8eb49cd1e5c8a83bb2068f24ea563"
     default))
 '(helm-minibuffer-history-key "M-p")
 '(package-selected-packages
   '(adaptive-wrap async corfu-terminal cursory edit-indirect flycheck
                   gptel marginalia markdown-mode mu4e nov
                   nushell-ts-mode offlineimap org-modern pdf-tools
                   ultra-scroll))
 '(safe-local-variable-values
   '((eval add-hook 'after-save-hook
           (lambda nil
             (when (string-suffix-p ".org" buffer-file-name)
               (org-md-export-to-markdown)))
           nil t)
     (org-md-headline-style . atx)
     (eval let ((host (car (split-string (system-name) "\\."))))
           (setq-local eglot-workspace-configuration
                       `(:nixd
                         (:nixpkgs
                          (:expr
                           ,(format
                             "(import ./.).nixosConfigurations.%s.pkgs"
                             host))
                          :formatting (:command ["nixfmt"]) :options
                          (:nixos
                           (:expr
                            ,(format
                              "(import ./.).nixosConfigurations.%s.options"
                              host))
                           :home-manager
                           (:expr
                            ,(format
                              "(import ./.).nixosConfigurations.%s.options.home-manager.users.type.getSubOptions []"
                              host)))))))
     (eglot-server-programs
      ((python-ts-mode python-mode) "rass" "--" "ty" "server" "--"
       "ruff" "server"))
     (eglot-server-programs (nix-mode "devenv" "lsp"))
     (magit-todos-mode)
     (eval progn
           (add-to-list 'auto-mode-alist '("\\.html\\'" . jinja2-mode))
           (add-to-list 'auto-mode-alist '("\\.j2\\'" . jinja2-mode)))))
 '(sync-ui-repos
   '(("~/org" . auto) ("~/.claude/skills" . auto) ("~/pass" . auto)
     ("~/nix" . ask) ("~/.emacs.d" . auto) ("~/garden/" . ask)))
 '(zoom-size '(0.382 . 0.618)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(org-block ((t (:inherit fixed-pitch))))
 '(org-block-begin-line ((t (:inherit (shadow fixed-pitch)))))
 '(org-block-end-line ((t (:inherit (shadow fixed-pitch)))))
 '(org-checkbox ((t (:inherit fixed-pitch))))
 '(org-code ((t (:inherit (shadow fixed-pitch)))))
 '(org-document-title ((t (:height 1.6))))
 '(org-drawer ((t (:inherit fixed-pitch))))
 '(org-indent ((t (:inherit (org-hide fixed-pitch)))))
 '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
 '(org-property-value ((t (:inherit fixed-pitch))))
 '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
 '(org-table ((t (:inherit fixed-pitch))))
 '(org-tag ((t (:inherit fixed-pitch))))
 '(org-verbatim ((t (:inherit (shadow fixed-pitch)))))
 '(outline-1 ((t (:height 1.25))))
 '(outline-2 ((t (:height 1.2))))
 '(outline-3 ((t (:height 1.2))))
 '(outline-4 ((t (:height 1.2))))
 '(outline-5 ((t (:height 1.2))))
 '(outline-6 ((t (:height 1.2))))
 '(outline-7 ((t (:height 1.2))))
 '(outline-8 ((t (:height 1.2))))
 '(outline-9 ((t (:height 1.2)))))