feat(nixos): improve editor and shell service configuration

- Replace `vim.defaultEditor` with `neovim.defaultEditor`.
- Add `vim.enable` to enable Vim by default.
- Simplify imports by removing unused `options`.
This commit is contained in:
Harald Hoyer 2025-05-27 13:51:07 +02:00
parent b520e76c4c
commit 30c4e4482d

View file

@ -1,9 +1,7 @@
{ { config
options, , lib
config, , pkgs
lib, , ...
pkgs,
...
}: }:
with lib; with lib;
with lib.metacfg; with lib.metacfg;
@ -108,9 +106,10 @@ in
}; };
starship.enable = true; starship.enable = true;
mosh.enable = true; mosh.enable = true;
vim = { vim.enable = true;
defaultEditor = true; neovim = {
enable = true; enable = true;
defaultEditor = true;
}; };
fish.enable = true; fish.enable = true;
}; };