home/natto/emacs: add direnv and misc changes
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -246,6 +246,13 @@ For autocomplete
 | 
			
		||||
  (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
** Direnv
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
(use-package direnv
 | 
			
		||||
 :config
 | 
			
		||||
 (direnv-mode))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
** Lang support
 | 
			
		||||
#+begin_src emacs-lisp
 | 
			
		||||
(use-package inform7)
 | 
			
		||||
 
 | 
			
		||||
@@ -23,5 +23,6 @@
 | 
			
		||||
    };
 | 
			
		||||
    go.enable = true;
 | 
			
		||||
    password-store.enable = true;
 | 
			
		||||
    direnv.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,9 @@ in
 | 
			
		||||
  services = {
 | 
			
		||||
    baremacs = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      package = pkgs.mymacs ./config/emacs/config.org;
 | 
			
		||||
      package = pkgs.mymacs.override {
 | 
			
		||||
        config = ./config/emacs/config.org;
 | 
			
		||||
      };
 | 
			
		||||
      defaultEditor = {
 | 
			
		||||
        enable = false;
 | 
			
		||||
        editor = "emacsclient";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user