Common/helix: add nixpkgs-fmt (nix formatter)

This commit is contained in:
Toast 2024-02-09 01:06:06 +01:00
parent 93f60414ac
commit 80eaacd3a3

View file

@ -6,9 +6,10 @@
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nixpkgs-fmt
nil
];
settings = {
settings = {
theme = "catppuccin_mocha";
editor = {
mouse = true;
@ -21,6 +22,12 @@
indent-guides.render = true;
};
};
languages = [
{
name = "nix";
formatter.command = "nixpkgs-fmt";
}
];
};
};
}