about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b81d2507..1cecae80 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,21 @@
     systems = {
       url = "github:nix-systems/x86_64-linux"; # only evaluate for this system
     };
+    poetry2nix = {
+      url = "github:nix-community/poetry2nix";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        flake-utils.follows = "flake-utils";
+      };
+    };
+    nixNeovimPlugins = {
+      url = "github:nixNeovim/nixNeovimPlugins";
+      inputs = {
+        flake-utils.follows = "flake-utils";
+        nixpkgs.follows = "nixpkgs";
+        poetry2nix.follows = "poetry2nix";
+      };
+    };
     flake-compat = {
       url = "github:edolstra/flake-compat";
       flake = false;
@@ -50,6 +65,15 @@
         nixpkgs.follows = "nixpkgs";
       };
     };
+    nixNeovim = {
+      url = "github:NixNeovim/NixNeovim";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        flake-utils.follows = "flake-utils";
+        home-manager.follows = "home-manager";
+        nixneovimplugins.follows = "nixNeovimPlugins";
+      };
+    };
     agenix = {
       url = "github:ryantm/agenix";
       inputs = {
@@ -225,6 +249,7 @@
     serverphone,
     disko,
     lanzaboote,
+    nixNeovim,
     # external dependencies
     neovim_config,
     user_js,
@@ -247,6 +272,7 @@
     pkgs = import nixpkgs (import ./system/nixpkgs {
       inherit (nixpkgs) lib;
       inherit system;
+      overlays = [nixNeovim.overlays.default];
     });
     # FIXME this `nixpkgs` misses the configs applied to the other one
     nixpkgs_as_input = nixpkgs;
@@ -261,6 +287,7 @@
         # modules
         
         home-manager
+        nixNeovim
         nixos-generators
         impermanence
         agenix