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:
parent
b520e76c4c
commit
30c4e4482d
1 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue