about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-17 17:56:57 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-17 17:56:57 +0200
commit5e065c47f13be200dd4836a35ff3c69732aa125d (patch)
tree5b1738a9c1f297c55e286a86f212f8a4f37633b1 /flake.nix
parentfix(flake.nix): Remove unneeded dependency override in nixVim (diff)
downloadnixos-config-5e065c47f13be200dd4836a35ff3c69732aa125d.tar.gz
nixos-config-5e065c47f13be200dd4836a35ff3c69732aa125d.zip
build(treewide): Update
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix25
1 files changed, 21 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index 2dacdbd8..172cc6fd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,9 +10,24 @@
     nixpkgs-onlykey.url = "github:soispha/nixpkgs/fix-onlykey-agent";
 
     # inputs for following
+    nix-darwin = {
+      url = "github:lnl7/nix-darwin";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
     systems = {
       url = "github:nix-systems/x86_64-linux"; # only evaluate for this system
     };
+    git-hooks = {
+      url = "github:cachix/git-hooks.nix";
+      inputs = {
+        flake-compat.follows = "flake-compat";
+        gitignore.follows = "gitignore";
+        nixpkgs-stable.follows = "nixpkgs-stable";
+        nixpkgs.follows = "nixpkgs";
+      };
+    };
     poetry2nix = {
       url = "github:nix-community/poetry2nix";
       inputs = {
@@ -109,12 +124,14 @@
     nixVim = {
       url = "github:nix-community/nixvim";
       inputs = {
-        treefmt-nix.follows = "treefmt-nix";
-        home-manager.follows = "home-manager";
+        devshell.follows = "devshell";
+        flake-compat.follows = "flake-compat";
         flake-parts.follows = "flake-parts";
+        git-hooks.follows = "git-hooks";
+        home-manager.follows = "home-manager";
+        nix-darwin.follows = "nix-darwin";
         nixpkgs.follows = "nixpkgs";
-        flake-compat.follows = "flake-compat";
-        devshell.follows = "devshell";
+        treefmt-nix.follows = "treefmt-nix";
       };
     };
     agenix = {