chore: replace nix-ts-mode with nix-mode

This commit is contained in:
Artur Manuel 2024-10-05 22:44:37 +01:00
commit 0ca91a2999
3 changed files with 12 additions and 4 deletions

View file

@ -178,7 +178,10 @@
:config :config
(load-theme 'base16-oxocarbon-dark t)) (load-theme 'base16-oxocarbon-dark t))
(use-package nix-ts-mode (use-package nix-mode
:mode "\\.nix\\'") :mode "\\.nix\\'")
(use-package envrc
:hook (after-init . envrc-global-mode))
(provide 'config) (provide 'config)

View file

@ -34,7 +34,8 @@ in
embark embark
embark-consult embark-consult
base16-theme base16-theme
nix-ts-mode nix-mode
envrc
; ;
treesit-grammars = e.treesit-grammars.with-all-grammars; treesit-grammars = e.treesit-grammars.with-all-grammars;
}; };

View file

@ -38,8 +38,12 @@
}; };
packages = { packages = {
pankomacs = mkEmacs pkgs.emacs29-pgtk; pankomacs = mkEmacs (pkgs.emacs29-pgtk.override {
pankomacs-x11 = mkEmacs pkgs.emacs-gtk; withSystemd = false;
});
pankomacs-x11 = mkEmacs (pkgs.emacs-gtk.overide {
withSystemd = false;
});
}; };
formatter = pkgs.nixfmt-rfc-style; formatter = pkgs.nixfmt-rfc-style;