Add neovim config using nixvim

This commit is contained in:
Salar Rahmanian 2025-10-03 20:20:39 -07:00
parent 5151384820
commit 2708a86df9
18 changed files with 864 additions and 9 deletions

View file

@ -1,4 +1,5 @@
{
inputs,
lib,
pkgs,
...
@ -8,11 +9,15 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
imports = (import ./programs);
imports = [
inputs.nixvim.homeModules.nixvim
]
++ (import ./programs);
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"copilot.vim"
"discord"
"gh-copilot"
"slack"
@ -62,7 +67,6 @@
metals
multimarkdown
mypy
neovim
nerd-fonts.fira-code
nil
niv
@ -218,10 +222,10 @@
};
# Neovim Configuration
xdg.configFile."nvim".source = pkgs.fetchFromGitHub {
owner = "softinio";
repo = "nvim-config";
rev = "e89dc85e3a4116796d4393d37c12c31737e6f17c";
sha256 = "sha256-HCLF7vM4pUbW2OlOuat1isnuyfqfPxjJ4wWYLcNcu0M=";
};
# xdg.configFile."nvim".source = pkgs.fetchFromGitHub {
# owner = "softinio";
# repo = "nvim-config";
# rev = "e89dc85e3a4116796d4393d37c12c31737e6f17c";
# sha256 = "sha256-HCLF7vM4pUbW2OlOuat1isnuyfqfPxjJ4wWYLcNcu0M=";
# };
}