Skip to content

Commit

Permalink
treefmt: don't set nixfmt.package explicitly
Browse files Browse the repository at this point in the history
this is the default already.
  • Loading branch information
Mic92 committed Dec 1, 2024
1 parent beeae7d commit c8f9f73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions formatter/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
imports = [ inputs.treefmt-nix.flakeModule ];

perSystem =
{ pkgs, ... }:
{ ... }:
{
treefmt = {
# Used to find the project root
Expand All @@ -19,7 +19,6 @@
programs.terraform.enable = true;
programs.deadnix.enable = true;
programs.nixfmt.enable = true;
programs.nixfmt.package = pkgs.nixfmt-rfc-style;
programs.ruff-format.enable = true;
programs.ruff-check.enable = true;

Expand Down

0 comments on commit c8f9f73

Please sign in to comment.