treewide: adhere to official nix formatting style #28

Closed
notohh wants to merge 4 commits from nixfmt-rfc-style into master
Showing only changes of commit be35e2576e - Show all commits

View file

@ -59,7 +59,7 @@
stylua.enable = true; stylua.enable = true;
eslint.enable = true; eslint.enable = true;
statix.enable = true; statix.enable = true;
alejandra.enable = true; alejandra.enable = false;
deadnix = { deadnix = {
enable = true; enable = true;
excludes = ["overlays.nix"]; excludes = ["overlays.nix"];
@ -77,12 +77,13 @@
packages = with pkgs; [ packages = with pkgs; [
git git
sops sops
alejandra # alejandra
nixfmt-rfc-style
yaml-language-server yaml-language-server
lua-language-server lua-language-server
]; ];
}; };
formatter.${system} = pkgs.alejandra; # formatter.${system} = pkgs.alejandra;
deploy = import ./hosts/deploy.nix inputs; deploy = import ./hosts/deploy.nix inputs;
nixosConfigurations = import ./hosts inputs; nixosConfigurations = import ./hosts inputs;
}; };