mirror of
https://gitlab.com/rensa-nix/core.git
synced 2026-02-02 07:15:08 +01:00
chore: add treefmt
This commit is contained in:
parent
b0eaa25b77
commit
9c1a29fa9b
3 changed files with 33 additions and 3 deletions
|
|
@ -1,8 +1,16 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) pkgs dslib;
|
||||
inherit (inputs) pkgs dslib treefmt;
|
||||
in {
|
||||
default = dslib.mkShell {
|
||||
packages = [pkgs.alejandra];
|
||||
packages = [
|
||||
(treefmt.mkWrapper pkgs {
|
||||
programs = {
|
||||
alejandra.enable = true;
|
||||
mdformat.enable = true;
|
||||
};
|
||||
settings.global.excludes = ["*LICENSE*.md"];
|
||||
})
|
||||
];
|
||||
enterShellCommands."ren".text = "echo Hello rensa!";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue