about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-03 11:27:44 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 17:34:43 +0200
commitf4dcf65018e287215a010544857831f84ff85fb4 (patch)
treeb90b941171121f5c8bae3c40adbc320ac5ac8223 /flake.nix
parentFeat(flake): Import the nixNeovim module (diff)
downloadnixos-config-f4dcf65018e287215a010544857831f84ff85fb4.tar.gz
nixos-config-f4dcf65018e287215a010544857831f84ff85fb4.zip
Feat(treewide): Import nixVim
NixNeovim was forked from this, but never really took of. So I'm
switching to nixVim, as I hope for better results.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix38
1 files changed, 37 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 1cecae80..a7fd7576 100644
--- a/flake.nix
+++ b/flake.nix
@@ -17,6 +17,30 @@
         flake-utils.follows = "flake-utils";
       };
     };
+    gitignore = {
+      url = "github:hercules-ci/gitignore.nix";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
+    beautysh = {
+      url = "github:lovesegfault/beautysh";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        poetry2nix.follows = "poetry2nix";
+        utils.follows = "flake-utils";
+      };
+    };
+    pre-commit-hooks = {
+      url = "github:cachix/pre-commit-hooks.nix";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        flake-utils.follows = "flake-utils";
+        flake-compat.follows = "flake-compat";
+        nixpkgs-stable.follows = "nixpkgs_stable_release";
+        gitignore.follows = "gitignore";
+      };
+    };
     nixNeovimPlugins = {
       url = "github:nixNeovim/nixNeovimPlugins";
       inputs = {
@@ -66,7 +90,7 @@
       };
     };
     nixNeovim = {
-      url = "github:NixNeovim/NixNeovim";
+      url = "github:nixNeovim/nixNeovim";
       inputs = {
         nixpkgs.follows = "nixpkgs";
         flake-utils.follows = "flake-utils";
@@ -74,6 +98,15 @@
         nixneovimplugins.follows = "nixNeovimPlugins";
       };
     };
+    nixVim = {
+      url = "github:nix-community/nixvim";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        flake-utils.follows = "flake-utils";
+        pre-commit-hooks.follows = "pre-commit-hooks";
+        beautysh.follows = "beautysh";
+      };
+    };
     agenix = {
       url = "github:ryantm/agenix";
       inputs = {
@@ -119,6 +152,7 @@
         flake-utils.follows = "flake-utils";
         crane.follows = "crane";
         rust-overlay.follows = "rust-overlay";
+        pre-commit-hooks-nix.follows = "pre-commit-hooks";
       };
     };
 
@@ -250,6 +284,7 @@
     disko,
     lanzaboote,
     nixNeovim,
+    nixVim,
     # external dependencies
     neovim_config,
     user_js,
@@ -288,6 +323,7 @@
         
         home-manager
         nixNeovim
+        nixVim
         nixos-generators
         impermanence
         agenix