From c74e84ab5f377afd2655722d1f9d65252e258bc6 Mon Sep 17 00:00:00 2001 From: Mykhailo Nikiforov Date: Sun, 26 Oct 2025 23:13:44 +0200 Subject: [PATCH] feat(snacks): add extra packages --- config/default.nix | 2 +- config/modules/plugins/conform-nvim.nix | 9 +++++++++ config/modules/plugins/snacks.nix | 8 +++++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/config/default.nix b/config/default.nix index 7687443..e7525d7 100644 --- a/config/default.nix +++ b/config/default.nix @@ -12,7 +12,7 @@ ./modules/plugins/conform-nvim.nix ./modules/plugins/fzf-lua.nix ./modules/plugins/gitsigns.nix - ./modules/plugins/lazygit.nix + # ./modules/plugins/lazygit.nix ./modules/plugins/mini.nix ./modules/plugins/neotree.nix ./modules/plugins/oil.nix diff --git a/config/modules/plugins/conform-nvim.nix b/config/modules/plugins/conform-nvim.nix index 8eb2a3d..c1299ee 100644 --- a/config/modules/plugins/conform-nvim.nix +++ b/config/modules/plugins/conform-nvim.nix @@ -169,6 +169,15 @@ yamlfmt = { command = "${lib.getExe pkgs.yamlfmt}"; }; + terraform_fmt = { + command = "${lib.getExe ( + pkgs.terraform.overrideAttrs (oldAttrs: { + meta = lib.recursiveUpdate oldAttrs.meta { + license = lib.licenses.gpl3Only; + }; + }) + )}"; + }; }; }; }; diff --git a/config/modules/plugins/snacks.nix b/config/modules/plugins/snacks.nix index 21854eb..36c25a6 100644 --- a/config/modules/plugins/snacks.nix +++ b/config/modules/plugins/snacks.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ lib, pkgs, ... }: { plugins.snacks = { enable = true; @@ -15,6 +15,12 @@ }; }; + extraPackages = [ + pkgs.ripgrep + pkgs.fd + pkgs.lazygit + ]; + keymaps = [ { key = "";