Skip to content

Commit

Permalink
feat(nix): Update flake.nix, flake.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
sudosubin committed Jan 22, 2023
1 parent 8e67af7 commit fcb7f65
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 39 deletions.
76 changes: 38 additions & 38 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
src = ./.;
config = {
pre-commit.commands = {
nixpkgs-fmt.run = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt {staged_files}";
nixpkgs-fmt = {
run = "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt {staged_files}";
glob = "*.nix";
};
};
};
};
Expand Down

0 comments on commit fcb7f65

Please sign in to comment.