ci: rework flake integration

Now Use flake part and integrate a build system using nix package building and treefmt-nix as a flake-part module
This commit is contained in:
Yorick Barbanneau 2025-01-07 00:56:34 +01:00
parent 440e26fb63
commit ffea2b6857
8 changed files with 268 additions and 79 deletions

18
nix/treefmt.nix Normal file
View file

@ -0,0 +1,18 @@
_: {
config.perSystem =
{
config,
inputs',
pkgs,
...
}:
{
treefmt = {
programs = {
shfmt.enable = true;
alejandra.enable = true;
nixfmt.enable = true;
};
};
};
}