bump inputs
This commit is contained in:
parent
35e6b01a56
commit
72a136dbd6
4 changed files with 126 additions and 71 deletions
13
flake/pre-commit/default.nix
Normal file
13
flake/pre-commit/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
perSystem = _: {
|
||||
pre-commit = {
|
||||
settings = {
|
||||
excludes = ["flake.lock"];
|
||||
hooks = {
|
||||
alejandra.enable = true;
|
||||
prettier.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,9 +1,16 @@
|
|||
{
|
||||
perSystem = {pkgs, ...}: {
|
||||
perSystem = {
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
devShells.default = pkgs.mkShellNoCC {
|
||||
name = "nichts";
|
||||
DIRENV_LOG_FORMAT = "";
|
||||
|
||||
#inputsFrom = [config.treefmt.build.devShell];
|
||||
packages = with pkgs; [
|
||||
config.treefmt.build.wrapper # treewide formatter
|
||||
nil # nix language server
|
||||
alejandra
|
||||
git # take a guess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue