Add devenv nix
This commit is contained in:
19
devenv.nix
Normal file
19
devenv.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
treefmt.enable = true;
|
||||
|
||||
treefmt.config.programs.nixpkgs-fmt.enable = true;
|
||||
|
||||
git-hooks = {
|
||||
enable = true;
|
||||
|
||||
hooks = {
|
||||
treefmt.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user