summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-15 11:48:06 +0200
committersils <sils@sils.li>2023-07-15 11:48:06 +0200
commit6599a530772ff0fbe320b9acc278e2e16a390999 (patch)
tree77579361d55e3842d430b285763fe0414a2e9d86 /flake.nix
parentFeat(user/sils/packages): Add nerdfonts (diff)
downloadnix-config-6599a530772ff0fbe320b9acc278e2e16a390999.tar.gz
nix-config-6599a530772ff0fbe320b9acc278e2e16a390999.zip
Feat(flake): Add nixneovim
Diffstat (limited to '')
-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;};
           };
         }
       ];