diff --git a/roles/home/helix.nix b/roles/home/helix.nix index 778c487..c58782e 100644 --- a/roles/home/helix.nix +++ b/roles/home/helix.nix @@ -53,6 +53,11 @@ in [[language]] name = "python" formatter = { command = "black", args = [ "-" ] } + + [[language]] + name = "bash" + indent = { tab-width = 2, unit = " " } + formatter = { command = 'shfmt', args = ["-i", "2"] } ''; packages = with pkgs.unstablePkgs; [ @@ -65,6 +70,7 @@ in nixpkgs-fmt ruff shellcheck + shfmt ] ++ pythonPkgs ++ nodePkgs; }; }