Skip to content

Commit

Permalink
flake(nix): using alejandra as project formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Apr 6, 2024
1 parent b796c59 commit 0065841
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
nixosModules.default = import ./nix/nixos-module.nix self;
homeManagerModule.default = import ./nix/hm-module.nix self;

formatter = eachSystem (system: let
pkgs = pkgsFor.${system};
in
pkgs.alejandra);

devShells.default = eachSystem (system: let
pkgs = pkgsFor.${system};
in
Expand Down

0 comments on commit 0065841

Please sign in to comment.