summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-11-23 19:18:36 +0100
committersils <sils@sils.li>2023-11-23 19:18:36 +0100
commit9d82f61c5481b8762ecea4e5056fd3e7631c5e98 (patch)
tree250045b2656b694179d3edecd04db2060df34caa /flake.nix
parentfix(flake): switch to modern devShells (diff)
downloadnix-config-9d82f61c5481b8762ecea4e5056fd3e7631c5e98.tar.gz
nix-config-9d82f61c5481b8762ecea4e5056fd3e7631c5e98.zip
feat(treewide): make configured neovim available as package
Diffstat (limited to '')
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e9636b3..5236972 100644
--- a/flake.nix
+++ b/flake.nix
@@ -151,6 +151,7 @@
       overlays = [nixvim.overlays.default];
     };
     sysLib = shell_library.lib.${system};
+    nixVimConfig = import ./users/sils/nixvim/config.nix;
     defaultModules = [
       impermanence.nixosModules.impermanence
       lanzaboote.nixosModules.lanzaboote
@@ -200,5 +201,9 @@
       };
 
       formatter = pkgs.alejandra;
+
+      packages = {
+        nvim = nixvim.legacyPackages."${system}".makeNixvim nixVimConfig;
+      };
     });
 }