From ea2b4fd5424bb96710e1d78f62233155437a87c9 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 16 May 2026 17:25:32 -0400 Subject: nvf neovim --- flake.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 3d4f4c1..fa473f0 100644 --- a/flake.nix +++ b/flake.nix @@ -32,6 +32,10 @@ url = "github:Skullheadx/dmenu"; inputs.nixpkgs.follows = "nixpkgs"; }; + nvf = { + url = "github:notashelf/nvf"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -44,15 +48,26 @@ my-dwm, my-st, my-dmenu, + nvf, }@inputs: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + customNeovim = nvf.lib.neovimConfiguration { + inherit pkgs; + modules = [ ./nvf/nvf.nix ]; + }; + in { nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs customNeovim; }; modules = [ hjem.nixosModules.default ./configuration.nix ./overlays.nix ]; }; + + packages.${system}.my-neovim = customNeovim.neovim; }; } -- cgit v1.3.1