added neocord and nvim-lightbulb to nixvim config

This commit is contained in:
pagedmov
2024-11-09 16:06:06 -05:00
parent 231112356c
commit d38da56ba2
7 changed files with 46 additions and 1 deletions

View File

@@ -46,6 +46,8 @@
LANG = "en_US.UTF-8"; LANG = "en_US.UTF-8";
BROWSER = "firefox"; BROWSER = "firefox";
FLAKEPATH = "$HOME/.sysflake"; FLAKEPATH = "$HOME/.sysflake";
STEAMPATH = "$HOME/.local/share/Steam";
PATH = "$PATH:$HOME/.userpath/";
}; };
oh-my-zsh = { oh-my-zsh = {

View File

@@ -1,6 +1,16 @@
{ {
programs.nixvim = { programs.nixvim = {
keymaps = [ keymaps = [
{
action = "<cmd>lua vim.lsp.buf.code_action()<CR>";
key = "!ca";
mode = "n";
}
{
action = "<cmd>Telescope<CR>";
key = "!t";
mode = "n";
}
{ {
action = "<cmd>lua vim.lsp.buf.format()<CR>"; action = "<cmd>lua vim.lsp.buf.format()<CR>";
key = "!fmt"; key = "!fmt";

View File

@@ -11,6 +11,8 @@
./lsp.nix ./lsp.nix
./fidget.nix ./fidget.nix
./lualine.nix ./lualine.nix
./nvim-lightbulb.nix
./neocord.nix
./plugins.nix ./plugins.nix
./nvim-tree.nix ./nvim-tree.nix
./telescope.nix ./telescope.nix

View File

@@ -25,7 +25,7 @@
sections = { sections = {
lualine_a = ["mode"]; lualine_a = ["mode"];
lualine_b = ["buffers"]; lualine_b = ["buffers"];
lualine_c = [""]; lualine_c = [];
lualine_x = ["searchcount" "fileformat" "filetype"]; lualine_x = ["searchcount" "fileformat" "filetype"];
lualine_y = ["branch" "diff" "diagnostics"]; lualine_y = ["branch" "diff" "diagnostics"];
lualine_z = ["location"]; lualine_z = ["location"];

View File

@@ -0,0 +1,19 @@
{
programs.nixvim.plugins.neocord = {
enable = true;
settings = {
logo = "https://styles.redditmedia.com/t5_30kix/styles/communityIcon_n2hvyn96zwk81.png";
logo_tooltip = "Neovim";
buttons = [
{
label = " My GitHub";
url = "https://github.com/pagedMov";
}
{
label = " Nixvim";
url = "https://github.com/nix-community/nixvim";
}
];
};
};
}

View File

@@ -0,0 +1,11 @@
{
programs.nixvim.plugins.nvim-lightbulb = {
enable = true;
settings = {
virtual_text = {
enable = true;
};
autocmd.enabled = true;
};
};
}

View File

@@ -5,6 +5,7 @@
config = lib.mkIf config.movOpts.softwareCfg.sysPkgs.enable { config = lib.mkIf config.movOpts.softwareCfg.sysPkgs.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
alsa-lib alsa-lib
wayland
alsa-utils alsa-utils
bc bc
cliphist cliphist