chore: replace nix-ts-mode with nix-mode
This commit is contained in:
parent
aee63f155c
commit
0ca91a2999
3 changed files with 12 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue