aboutsummaryrefslogtreecommitdiff
path: root/nixos/modules/users.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/users.nix')
-rw-r--r--nixos/modules/users.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nixos/modules/users.nix b/nixos/modules/users.nix
index d098ec7..1c143bb 100644
--- a/nixos/modules/users.nix
+++ b/nixos/modules/users.nix
@@ -64,10 +64,13 @@ in {
syntaxHighlighting.enable = isNative;
};
shellrc = true;
- vim.defaultEditor = isArm;
+ vim = {
+ enable = isArm;
+ defaultEditor = isArm;
+ };
neovim = {
enable = !isArm;
- defaultEditor = true;
+ defaultEditor = !isArm;
withNodeJs = true;
};