feat: init

This commit is contained in:
Nick 2025-03-29 23:08:26 -05:00
commit 96c6f790fc
804 changed files with 33411 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{
pkgs,
config,
...
}:
{
haskellProjects.default = {
devShell = {
enable = true;
tools = hp: {
inherit (hp)
cabal-fmt
haskell-language-server
;
inherit (pkgs)
dhall
dhall-json
dhall-lsp-server
helix-gpt
age
just
nil
nixd
sops
ssh-to-age
nixfmt-rfc-style
libz
ngrep
stripe-cli
vscode-langservers-extracted
zlib
;
inherit (pkgs.haskellPackages)
nixfmt
;
};
hlsCheck.enable = true;
mkShellArgs.shellHook = "${config.pre-commit.installationScript}";
};
};
}

View file

@ -0,0 +1 @@
{self, ...}: {packages.default = self.packages.example;}

View file

@ -0,0 +1,7 @@
{
pre-commit.settings.hooks = {
nixfmt.enable = true;
commitizen.enable = true;
statix.enable = true;
};
}