nix flake

This commit is contained in:
2026-05-28 02:23:20 +09:00
parent 1abb99aa07
commit 39935210d2
9 changed files with 1512 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
{
imports = [
./dotnix.nix
];
}
+20
View File
@@ -0,0 +1,20 @@
_: {
perSystem =
{
pkgs,
config,
...
}:
{
devShells.dotnix = pkgs.mkShell {
packages = [
config.treefmt.build.wrapper
pkgs.gitleaks
pkgs.git
pkgs.pre-commit
];
shellHook = config.pre-commit.settings.shellHook;
};
};
}