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
(load-theme 'base16-oxocarbon-dark t))
(use-package nix-ts-mode
(use-package nix-mode
:mode "\\.nix\\'")
(use-package envrc
:hook (after-init . envrc-global-mode))
(provide 'config)

View file

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

View file

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