about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/common/emacs/default.nix3
-rw-r--r--modules/common/emacs/doom/config.el8
-rw-r--r--modules/common/emacs/doom/packages.el5
3 files changed, 15 insertions, 1 deletions
diff --git a/modules/common/emacs/default.nix b/modules/common/emacs/default.nix
index 2d0fe67..6bbba38 100644
--- a/modules/common/emacs/default.nix
+++ b/modules/common/emacs/default.nix
@@ -57,7 +57,7 @@ in
                   fi
 
                   PATH="''${PATH:-/bin:/usr/bin:/usr/local/bin}:${emacs.package}/bin:${git.package}/bin" \
-                    "$EMACSDIR/bin/doom" sync -e -p --force --verbose
+                    "$EMACSDIR/bin/doom" sync -e --gc --force --verbose
                 fi
               '';
             }
@@ -144,6 +144,7 @@ in
                         rustfmt # :lang rust
                         shellcheck # :lang sh
                         shfmt # :lang sh :editor format
+                        sops
                         sqlite # :lang (org +roam2) :tools lookup
                         terraform-ls # :tools (terraform +lsp)
                         texlab # lang (tex +lsp)
diff --git a/modules/common/emacs/doom/config.el b/modules/common/emacs/doom/config.el
index 7f5693c..ac2578e 100644
--- a/modules/common/emacs/doom/config.el
+++ b/modules/common/emacs/doom/config.el
@@ -201,6 +201,14 @@
               '("libera" "oftc" "hackint" "rizon")))
 
 ;;
+;;; Sops
+;;
+
+(use-package! sops
+  :config
+  (global-sops-mode 1))
+
+;;
 ;;; Hledger
 ;;
 
diff --git a/modules/common/emacs/doom/packages.el b/modules/common/emacs/doom/packages.el
index 80490de..2ed0e4c 100644
--- a/modules/common/emacs/doom/packages.el
+++ b/modules/common/emacs/doom/packages.el
@@ -5,3 +5,8 @@
 (package! nickel-mode)
 
 (package! hledger-mode)
+
+(package! sops
+  :recipe (:type git
+           :host github
+           :repo "djgoku/sops"))

Consider giving Nix/NixOS a try! <3