From 1854b69dacd46562cd9b9624c1523ae3a060cd40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20He=C3=9Felmann?= Date: Fri, 27 Sep 2024 08:36:27 +0200 Subject: [PATCH] actually use bitwarden package --- .pre-commit-config.yaml | 5 +++++ flake.nix | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a849929..e160d15 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,3 +8,8 @@ repos: rev: v1.3.0 hooks: - id: nixpkgs-fmt + - repo: https://github.com/astro/deadnix + rev: v1.2.1 + hooks: + - id: deadnix + stages: [commit] diff --git a/flake.nix b/flake.nix index 6796a12..01b32fb 100644 --- a/flake.nix +++ b/flake.nix @@ -40,9 +40,9 @@ }: let # Pinned packages. - bitwarden = inputs.nixpkgs-stable.pkgs.bitwarden-cli; custom = import ./pkgs { inherit pkgs; }; golang = (import inputs.nixpkgs-golang { inherit system; }).go_1_22; + stable = import inputs.stable { inherit system; }; terraform = inputs.nixpkgs-terraform.packages.${system}."1.5.7"; # Add Darwin packages here. @@ -126,6 +126,7 @@ prometheus wget ; + inherit (stable) bitwarden-cli; go = golang; helm = pkgs.kubernetes-helm; jsonnet = pkgs.go-jsonnet;