Add: neovim git configuration

This commit is contained in:
DuN0z 2025-10-22 08:18:41 +02:00
parent c6e5dc2762
commit 55aad968ab
5 changed files with 85 additions and 140 deletions

View file

@ -14,6 +14,7 @@
};
nur.url = "github:nix-community/NUR";
agenix.url = "github:ryantm/agenix";
nvim-config.url = "git+https://govel.porzh.me/DuN0z/neovim-config.git";
};
outputs = {
@ -23,6 +24,7 @@
home-manager,
nur,
agenix,
nvim-config,
...
}: let
mkUnstablePkgsWithNur = {
@ -37,6 +39,7 @@
in {
nixosConfigurations = {
pennsardin = nixpkgs-unstable.lib.nixosSystem {
specialArgs = { inherit nvim-config; };
system = "x86_64-linux";
pkgs = mkUnstablePkgsWithNur {
system = "x86_64-linux";
@ -48,6 +51,13 @@
modules = [
./hosts/pennsardin/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true ;
useUserPackages = true ;
extraSpecialArgs = {inherit nvim-config; };
};
}
];
};