added neocord and nvim-lightbulb to nixvim config
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
LANG = "en_US.UTF-8";
|
||||
BROWSER = "firefox";
|
||||
FLAKEPATH = "$HOME/.sysflake";
|
||||
STEAMPATH = "$HOME/.local/share/Steam";
|
||||
PATH = "$PATH:$HOME/.userpath/";
|
||||
};
|
||||
|
||||
oh-my-zsh = {
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
{
|
||||
programs.nixvim = {
|
||||
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>";
|
||||
key = "!fmt";
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
./lsp.nix
|
||||
./fidget.nix
|
||||
./lualine.nix
|
||||
./nvim-lightbulb.nix
|
||||
./neocord.nix
|
||||
./plugins.nix
|
||||
./nvim-tree.nix
|
||||
./telescope.nix
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
sections = {
|
||||
lualine_a = ["mode"];
|
||||
lualine_b = ["buffers"];
|
||||
lualine_c = [""];
|
||||
lualine_c = [];
|
||||
lualine_x = ["searchcount" "fileformat" "filetype"];
|
||||
lualine_y = ["branch" "diff" "diagnostics"];
|
||||
lualine_z = ["location"];
|
||||
|
||||
19
modules/home/programs/nixvim/plugins/neocord.nix
Normal file
19
modules/home/programs/nixvim/plugins/neocord.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
11
modules/home/programs/nixvim/plugins/nvim-lightbulb.nix
Normal file
11
modules/home/programs/nixvim/plugins/nvim-lightbulb.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
programs.nixvim.plugins.nvim-lightbulb = {
|
||||
enable = true;
|
||||
settings = {
|
||||
virtual_text = {
|
||||
enable = true;
|
||||
};
|
||||
autocmd.enabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,6 +5,7 @@
|
||||
config = lib.mkIf config.movOpts.softwareCfg.sysPkgs.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
alsa-lib
|
||||
wayland
|
||||
alsa-utils
|
||||
bc
|
||||
cliphist
|
||||
|
||||
Reference in New Issue
Block a user