diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 658a9130..d235de1f 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -1281,9 +1281,7 @@ only god knows why im doing this #+begin_src emacs-lisp ;; codeberg thingy (use-package visual-fill-column) - (use-package telega - :straight t - ) + (use-package telega) #+end_src ** pdf-tools Emacs can be everything? Why not turn it into a pdf reader diff --git a/config/emacs/init.el b/config/emacs/init.el index 9ac8a0d5..89a08e73 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -1062,9 +1062,7 @@ kept-old-versions 5) ;; codeberg thingy (use-package visual-fill-column) -(use-package telega - :straight t - ) +(use-package telega) (use-package pdf-tools :straight t diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index c39dc5dd..1823f891 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -95,6 +95,7 @@ editors = { nvim.enable = true; emacs.enable = true; + emacs.daemon = false; }; cc.enable = true; nil.enable = true; diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index f59dd3aa..456500b0 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -11,12 +11,13 @@ with lib; let in { options.modules.dev.editors.emacs = { enable = mkEnableOption false; + daemon = mkEnableOption true; }; config = mkIf cfg.enable { # ues daemon services.emacs = { - enable = true; + enable = cfg.daemon; install = true; package = pkgs.emacs29-pgtk; };