nvim stuff

This commit is contained in:
2025-08-05 15:51:08 +02:00
parent 4ef46d14a1
commit df513eb640
14 changed files with 72 additions and 212 deletions

View File

@@ -1,10 +1,8 @@
{ nixvim, ... }:
{
imports = [
nixvim.homeManagerModules.nixvim
./options.nix
./plugins
./plugins/oil.nix
./plugins/which-key.nix
];
home.shellAliases.v = "nvim";
@@ -12,12 +10,15 @@
programs.nixvim = {
enable = true;
defaultEditor = true;
nixpkgs.useGlobalPackages = true;
viAlias = true;
vimAlias = true;
luaLoader.enable = true;
colorschemes.catppuccin = {
enable = true;
settings = {
flavour = "latte";
};
};
clipboard.register = "unnamedplus";
};
}

View File

@@ -1,5 +1 @@
{
programs.nixvim = {
colorschemes.catppuccin.enable = true;
};
}
{ }

View File

@@ -1,5 +0,0 @@
{
imports = [
./oil.nix
];
}

View File

@@ -0,0 +1,5 @@
{
programs.nixvim.plugins.which-key = {
enable = true;
};
}