Initial commit of NixOS config
This commit is contained in:
25
neovim.nix
Normal file
25
neovim.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
programs.neovim = {
|
||||
# ...
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
lazy-nvim
|
||||
];
|
||||
|
||||
extraLuaConfig =
|
||||
# lua
|
||||
''
|
||||
require("lazy").setup({
|
||||
-- disable all update / install features
|
||||
-- this is handled by nix
|
||||
rocks = { enabled = false },
|
||||
pkg = { enabled = false },
|
||||
install = { missing = false },
|
||||
change_detection = { enabled = false },
|
||||
spec = {
|
||||
-- TODO
|
||||
},
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user