From 26440bfeee2a3f6cb00ac8694fc7b26738b8eaa7 Mon Sep 17 00:00:00 2001 From: cnst Date: Fri, 29 Aug 2025 14:52:56 +0200 Subject: [PATCH] try fufexans git hooks setup 2 --- flake.lock | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++---- flake.nix | 2 ++ 2 files changed, 92 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index abedaf4b..3806ef54 100644 --- a/flake.lock +++ b/flake.lock @@ -156,7 +156,6 @@ } }, "flake-compat": { - "flake": false, "locked": { "lastModified": 1747046372, "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", @@ -188,6 +187,22 @@ } }, "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { "flake": false, "locked": { "lastModified": 1751685974, @@ -358,7 +373,52 @@ "url": "https://git.sr.ht/~canasta/fonts" } }, + "git-hooks": { + "inputs": { + "flake-compat": [ + "flake-compat" + ], + "gitignore": "gitignore", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1755960406, + "narHash": "sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, "gitignore": { + "inputs": { + "nixpkgs": [ + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_2": { "inputs": { "nixpkgs": [ "hyprland", @@ -380,7 +440,7 @@ "type": "github" } }, - "gitignore_2": { + "gitignore_3": { "inputs": { "nixpkgs": [ "lanzaboote", @@ -1040,7 +1100,7 @@ "lanzaboote": { "inputs": { "crane": "crane", - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "flake-parts": "flake-parts_4", "nixpkgs": "nixpkgs_7", "pre-commit-hooks-nix": "pre-commit-hooks-nix", @@ -1282,7 +1342,7 @@ }, "nvf": { "inputs": { - "flake-compat": "flake-compat_3", + "flake-compat": "flake-compat_4", "flake-parts": "flake-parts_5", "mnw": "mnw", "nixpkgs": "nixpkgs_9", @@ -1304,8 +1364,8 @@ }, "pre-commit-hooks": { "inputs": { - "flake-compat": "flake-compat", - "gitignore": "gitignore", + "flake-compat": "flake-compat_2", + "gitignore": "gitignore_2", "nixpkgs": [ "hyprland", "nixpkgs" @@ -1331,7 +1391,7 @@ "lanzaboote", "flake-compat" ], - "gitignore": "gitignore_2", + "gitignore": "gitignore_3", "nixpkgs": [ "lanzaboote", "nixpkgs" @@ -1357,8 +1417,10 @@ "anyrun": "anyrun", "chaotic": "chaotic", "fenix": "fenix", + "flake-compat": "flake-compat", "flake-parts": "flake-parts_2", "fonts": "fonts", + "git-hooks": "git-hooks", "hardware": "hardware", "helix-flake": "helix-flake", "hm": "hm", @@ -1372,6 +1434,7 @@ "nixpkgs": "nixpkgs_8", "nvf": "nvf", "systems": "systems_5", + "treefmt-nix": "treefmt-nix", "tuirun": "tuirun", "zen-browser": "zen-browser" } @@ -1546,6 +1609,26 @@ "type": "github" } }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1755934250, + "narHash": "sha256-CsDojnMgYsfshQw3t4zjRUkmMmUdZGthl16bXVWgRYU=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "74e1a52d5bd9430312f8d1b8b0354c92c17453e5", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } + }, "tuirun": { "inputs": { "flake-parts": "flake-parts_6", diff --git a/flake.nix b/flake.nix index 30cef52a..b1304291 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,8 @@ inputs.nixpkgs-lib.follows = "nixpkgs"; }; + flake-compat.url = "github:edolstra/flake-compat"; + # Hyprland environment hyprland.url = "github:hyprwm/hyprland";