mirror of
https://gitlab.com/upRootNutrition/resume.git
synced 2025-06-16 01:15:12 -05:00
feat: init
This commit is contained in:
commit
c28aa94951
11 changed files with 403 additions and 0 deletions
26
parts/config/devshells.nix
Executable file
26
parts/config/devshells.nix
Executable file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
devShells = {
|
||||
default = pkgs.mkShell {
|
||||
packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
just
|
||||
nil
|
||||
typst
|
||||
tinymist
|
||||
typstyle
|
||||
yamlfmt
|
||||
nixfmt-rfc-style
|
||||
;
|
||||
# inherit (pkgs.nodePackages)
|
||||
# "@commitlint/config-conventional"
|
||||
# ;
|
||||
};
|
||||
};
|
||||
shellHook = "${config.pre-commit.installationScript}";
|
||||
};
|
||||
}
|
7
parts/config/pre-commit.nix
Executable file
7
parts/config/pre-commit.nix
Executable file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
pre-commit.settings.hooks = {
|
||||
nixfmt.enable = true;
|
||||
commitizen.enable = true;
|
||||
statix.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue