Commit 17b3a0ee123e

Vincent Demeester <vincent@sbr.pm>
2020-05-09 15:07:16
Makefile: add fmt target
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 8726785
Changed files (1)
Makefile
@@ -64,6 +64,9 @@ switch: assets setup
 install-hooks:
 	if [ -e .git ]; then nix-shell -p git --run 'git config core.hooksPath .githooks'; fi
 
+fmt:
+	nixpkgs-fmt *.nix lib machines modules overlays/*.nix overlays/emacs pkgs tmp tools
+
 # Cleaning
 .PHONY: clean
 clean: