summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 97560f3..aaf2992 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,6 +10,14 @@
     };
 
     # inputs for following
+    nixneovim = {
+      url = "github:nixneovim/nixneovim";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        flake-utils.follows = "flake-utils";
+        home-manager.follows = "home-manager";
+      };
+    };
     lanzaboote = {
       url = "github:nix-community/lanzaboote/v0.3.0";
       inputs.nixpkgs.follows = "nixpkgs";
@@ -102,6 +110,7 @@
     #grades,
     prismlauncher,
     lanzaboote,
+    nixneovim,
     ...
   } @ attrs: let
     system = "x86_64-linux";
@@ -112,8 +121,10 @@
     nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem {
       inherit system;
       specialArgs = attrs;
+      nixpkgs.overlays = [ nixneovim.overlays.default ];
       modules = [
         lanzaboote.nixosModules.lanzaboote
+        nixneovim.nixosModules.default
         ./hosts/thinklappi
         home-manager.nixosModules.home-manager
         {
@@ -121,7 +132,7 @@
             useGlobalPkgs = true;
             useUserPackages = true;
             users.sils = import ./users/sils;
-            extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher;};
+            extraSpecialArgs = {inherit nixpkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixneovim;};
           };
         }
       ];