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