From 52cecdc9238eb8e5fea8c348ec03d5b6607782e4 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 1 Apr 2024 14:55:28 +0300 Subject: 2024-04-01 --- modules/common/emacs/default.nix | 3 ++- modules/common/emacs/doom/config.el | 8 ++++++++ modules/common/emacs/doom/packages.el | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'modules') 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 @@ -200,6 +200,14 @@ (+pass-get-secret "server/soju.shire.net/azahi")))) '("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")) -- cgit 1.4.1