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 @@
|
||||||
{
|
{ 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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue