From 46b89aedf8c1440685b494e20a2eb9bcf4ff882f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 23 Mar 2024 05:54:04 +0300 Subject: [PATCH] pre-commit hook edit + fix typo --- flake.nix | 5 +---- hosts/dlaptop/system.nix | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 00b77af..161de4a 100644 --- a/flake.nix +++ b/flake.nix @@ -28,10 +28,7 @@ devShells."x86_64-linux".default = pkgs.mkShell { name = "delta"; packages = with pkgs; [ gitleaks pre-commit ]; - shellHook = '' - gitleaks detect -v - pre-commit install &> /dev/null - ''; + shellHook = ''pre-commit install &> /dev/null && gitleaks detect -v''; }; nixosConfigurations.dlaptop = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; diff --git a/hosts/dlaptop/system.nix b/hosts/dlaptop/system.nix index ac44ef5..66871bb 100644 --- a/hosts/dlaptop/system.nix +++ b/hosts/dlaptop/system.nix @@ -141,7 +141,7 @@ freetype poppler f3d - nufraw-thumbnail + nufraw-thumbnailer android-tools firefox