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

20
nix/devshell.nix Normal file
View file

@ -0,0 +1,20 @@
_: {
config.perSystem =
{
config,
inputs',
pkgs,
...
}:
{
devShells = {
default = pkgs.mkShell {
nativeBuildInputs = config.buildPackages ++ config.develPackages ++ config.deployPackages;
shellHook = ''
ln -snf ${config.pelicanplugins} plugins
ln -snf ${config.pelicantheme} theme
'';
};
};
};
}