add treefmt and jupyter lab

This commit is contained in:
2024-11-24 23:38:01 +01:00
parent 6b95d8632c
commit 5b0ae1e598
46 changed files with 6836 additions and 279 deletions

17
treefmt.nix Normal file
View File

@@ -0,0 +1,17 @@
{ inputs, ... }:
{
imports = [ inputs.treefmt-nix.flakeModule ];
perSystem =
{ ... }:
{
treefmt = {
# Used to find the project root
projectRootFile = "flake.nix";
programs.deadnix.enable = true;
programs.nixfmt.enable = true;
programs.shellcheck.enable = true;
programs.yamlfmt.enable = true;
};
};
}