remove git hooks

This commit is contained in:
goeranh 2026-03-20 16:24:09 +01:00
parent 52eb5d90d9
commit 5bed1bbba1
No known key found for this signature in database
3 changed files with 4 additions and 80 deletions

View file

@ -18,10 +18,6 @@
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
@ -32,7 +28,6 @@
mailserver,
disko,
sops,
git-hooks,
}:
let
sshkeys = [
@ -47,12 +42,6 @@
devShells.x86_64-linux.default =
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
pre-commit-check = git-hooks.lib.x86_64-linux.run {
src = ./.;
hooks = {
nixfmt-rfc-style.enable = true;
};
};
in
pkgs.mkShell {
# Import GPG keys from keys directory
@ -64,15 +53,11 @@
# Isolate sops GPG keys to .git/gnupg (optional)
# sopsCreateGPGHome = true;
shellHook = ''
${pre-commit-check.shellHook}
'';
nativeBuildInputs = [
sops.packages.x86_64-linux.sops-import-keys-hook
];
buildInputs = pre-commit-check.enabledPackages ++ [
buildInputs = [
pkgs.sops
];
};