mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
48 lines
913 B
Nix
Executable file
48 lines
913 B
Nix
Executable file
{
|
|
perSystem =
|
|
{
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
self',
|
|
...
|
|
}:
|
|
{
|
|
devShells = {
|
|
default = pkgs.mkShell {
|
|
packages = builtins.attrValues {
|
|
inherit (pkgs)
|
|
age
|
|
gitmoji-cli
|
|
graphviz
|
|
imv
|
|
just
|
|
nixfmt
|
|
just-lsp
|
|
litemdview
|
|
nil
|
|
openssl
|
|
pqiv
|
|
sops
|
|
ssh-to-age
|
|
taplo
|
|
vscode-langservers-extracted
|
|
watchexec
|
|
;
|
|
};
|
|
shellHook = "${config.pre-commit.installationScript}";
|
|
};
|
|
};
|
|
|
|
pre-commit.settings.hooks = {
|
|
nixfmt-rfc-style.enable = true;
|
|
commitizen.enable = true;
|
|
};
|
|
|
|
treefmt.programs.nixfmt = {
|
|
enable = true;
|
|
width = 200;
|
|
};
|
|
|
|
};
|
|
}
|