started neovim config

This commit is contained in:
John Lancaster
2026-03-29 23:05:45 -05:00
parent bc3d7e9b6f
commit d42de74755
4 changed files with 153 additions and 2 deletions
+4 -2
View File
@@ -35,6 +35,7 @@ in
restic
docker
desktop
# neovim
];
# TODO: make this more restrictive, rather than allowing all unfree packages
nixpkgs.config.allowUnfree = true;
@@ -44,9 +45,10 @@ in
home.username = "${username}";
home.homeDirectory = "/home/${username}";
home.packages = [
pkgs.nixos-rebuild
home.packages = with pkgs; [
nixos-rebuild
testPushCmd
inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.my-neovim
];
shell.program = "zsh";
+30
View File
@@ -0,0 +1,30 @@
{ self, inputs, ... }: {
flake-file.inputs = {
nvf = {
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
};
perSystem = { system, pkgs, ... }: {
packages.my-neovim = (inputs.nvf.lib.neovimConfiguration {
inherit pkgs;
modules = [
{
config.vim = {
# Enable custom theming options
theme.enable = true;
# Enable Treesitter
treesitter.enable = true;
# Other options will go here. Refer to the config
# reference in Appendix B of the nvf manual.
# ...
};
}
];
})
.neovim;
};
}