fix: Remove git hooks

This commit is contained in:
2026-02-17 15:39:40 +01:00
parent f14f604579
commit ad1bae4e8e
6 changed files with 120 additions and 48 deletions
+27 -42
View File
@@ -1,68 +1,53 @@
let
sources = import ./nix;
sources = import ./npins;
system = builtins.currentSystem;
pkgs = import sources.nixpkgs {
inherit system;
config = { };
overlays = [ ];
};
checks = import ./nix/checks.nix;
treefmt = import ./nix/treefmt.nix { };
in
pkgs.mkShellNoCC {
name = "clstr";
packages = [
# dev tools
pkgs.just
pkgs.npins
treefmt.config.build.wrapper
packages =
with pkgs;
[
# dev tools
just
npins
# helm
pkgs.helmfile
pkgs.kubernetes-helm
# helm
helmfile
kubernetes-helm
# kubectl tools
pkgs.kubectl-cnpg
pkgs.kubectl-neat
pkgs.kubectl-graph
pkgs.kubectl-klock
pkgs.kubectl-rook-ceph
# kubectl tools
kubectl-cnpg
kubectl-neat
kubelogin
kubelogin-oidc
kubectl-rook-ceph
kubectl-graph
kubectl-klock
graphviz
hubble
# other tools activate when needed
# step-cli
# linkerd
# cmctl
# rclone
# velero
renovate
# dapr
dapr-cli
]
++ checks.enabledPackages;
# other tools activate when needed
# pkgs.step-cli
# pkgs.linkerd
# pkgs.cmctl
# pkgs.rclone
# pkgs.velero
# pkgs.renovate
# pkgs.graphviz
# pkgs.hubble
# pkgs.dapr-cli
];
# Environment variables
ARGOCD_ENV_CLUSTER_NAME = "oceanbox";
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
shellHook = builtins.concatStringsSep "\n" [
checks.shellHook
];
# Alternative shells
passthru = pkgs.lib.mapAttrs (name: value: pkgs.mkShellNoCC (value // { inherit name; })) {
ci-shell = {
packages = [
pkgs.npins
];
shellHook = ''
export NPINS_DIRECTORY="nix"
'';
};
};
}