nix: Move neovim to separate file
This commit is contained in:
parent
f91e92c13c
commit
dd30bcbb25
2 changed files with 17 additions and 15 deletions
16
home/cli.nix
16
home/cli.nix
|
|
@ -67,21 +67,7 @@
|
||||||
|
|
||||||
ssh.enable = true;
|
ssh.enable = true;
|
||||||
|
|
||||||
neovim = {
|
neovim = import ./modules/nvim.nix pkgs;
|
||||||
enable = true;
|
|
||||||
vimAlias = true;
|
|
||||||
|
|
||||||
extraConfig = ''
|
|
||||||
set nowrap
|
|
||||||
'';
|
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
|
||||||
vim-nix
|
|
||||||
|
|
||||||
indentLine
|
|
||||||
indent-blankline-nvim
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
|
|
|
||||||
16
home/modules/nvim.nix
Normal file
16
home/modules/nvim.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
pkgs:
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
vimAlias = true;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
set nowrap
|
||||||
|
'';
|
||||||
|
|
||||||
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
vim-nix
|
||||||
|
|
||||||
|
indentLine
|
||||||
|
indent-blankline-nvim
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue