set editor properly

This commit is contained in:
Grisha Shipunov 2025-05-26 21:53:21 +02:00
parent ee5fa37189
commit 6ffe2d49ee

View file

@ -65,7 +65,9 @@
let let
editorconf = editorconf =
if config.services.emacs.defaultEditor then if config.services.emacs.defaultEditor then
{ } {
EDITOR = "emacsclient";
}
else else
{ {
EDITOR = "nvim"; EDITOR = "nvim";