mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 02:34:34 +02:00
misc: fix defaultEditor option for HM and NixOS modules
This commit is contained in:
parent
0ea5e205e6
commit
59232f22b5
2 changed files with 5 additions and 2 deletions
|
@ -37,7 +37,8 @@ in {
|
|||
xdg.configFile = files;
|
||||
})
|
||||
{
|
||||
inherit (cfg) warnings assertions defaultEditor;
|
||||
inherit (cfg) warnings assertions;
|
||||
home.sessionVariables = mkIf cfg.defaultEditor {EDITOR = "nvim";};
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue