feat: oh boy i missed lazyvim
This commit is contained in:
parent
e5918cc142
commit
d46886dc0b
1 changed files with 34 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
programs.neovim.defaultEditor = true;
|
||||
};
|
||||
|
||||
flake.modules.homeManager.base = {
|
||||
flake.modules.homeManager.base = {pkgs, ...}: {
|
||||
imports = [inputs.lazyvim.homeManagerModules.default];
|
||||
|
||||
programs.neovim.enable = true;
|
||||
|
|
@ -15,12 +15,45 @@
|
|||
programs.lazyvim = {
|
||||
enable = true;
|
||||
pluginSource = "nixpkgs";
|
||||
extraPackages = with pkgs; [
|
||||
nixd
|
||||
alejandra
|
||||
statix
|
||||
];
|
||||
plugins.catppuccin = ''
|
||||
return { "LazyVim/LazyVim", opts = { colorscheme = "catppuccin" } }
|
||||
'';
|
||||
plugins.neogit = ''
|
||||
return { "NeogitOrg/neogit", opts = {}, keys = { { "<leader>gg", "<cmd>Neogit<cr>" } } }
|
||||
'';
|
||||
plugins.nix = ''
|
||||
return {
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
opts = {
|
||||
formatters_by_ft = {
|
||||
nix = { "alejandra" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
nixd = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = {
|
||||
linters_by_ft = {
|
||||
nix = { "statix" },
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
'';
|
||||
extras = {
|
||||
lang.nix = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue