moved nixvim into own home-manager module.
moved pass store location.
This commit is contained in:
parent
bbc6beb3da
commit
2253c6c34a
28 changed files with 24 additions and 11 deletions
44
modules/home-manager/nvim/default.nix
Normal file
44
modules/home-manager/nvim/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
configs,
|
||||
pkgs,
|
||||
helpers,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
colorschemes.base16 = {
|
||||
colorscheme = "gruvbox-dark-medium";
|
||||
enable = true;
|
||||
};
|
||||
|
||||
clipboard.providers.xsel.enable = true;
|
||||
};
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
|
||||
programs.nushell.extraEnv = ''
|
||||
$env.EDITOR = nvim
|
||||
$env.VISUAL = nvim
|
||||
'';
|
||||
|
||||
imports = [
|
||||
./keybinds.nix
|
||||
./options.nix
|
||||
./simpleplugins.nix
|
||||
./lualine.nix
|
||||
./nvim-tree.nix
|
||||
./toggleterm.nix
|
||||
./gitsigns.nix
|
||||
./which-key.nix
|
||||
./telescope.nix
|
||||
./treesitter
|
||||
./cmp
|
||||
./lsp
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue