Run nix fmt

main
Bill Ewanick 2025-07-26 03:21:06 -04:00
parent b412772223
commit 9c0f6183cd
1 changed files with 54 additions and 57 deletions

View File

@ -11,9 +11,8 @@
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
}; };
outputs = outputs = inputs @ {flake-parts, ...}:
inputs@{ flake-parts, ... }: flake-parts.lib.mkFlake {inherit inputs;} {
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ imports = [
# To import a flake module # To import a flake module
# 1. Add foo to inputs # 1. Add foo to inputs
@ -35,16 +34,14 @@
# agnostic ones like nixosModule and system-enumerating ones, although # agnostic ones like nixosModule and system-enumerating ones, although
# those are more easily expressed in perSystem. # those are more easily expressed in perSystem.
}; };
perSystem = perSystem = {
{
config, config,
self', self',
inputs', inputs',
pkgs, pkgs,
system, system,
... ...
}: }: {
{
# Per-system attributes can be defined here. The self' and inputs' # Per-system attributes can be defined here. The self' and inputs'
# module parameters provide easy access to attributes of the same # module parameters provide easy access to attributes of the same
# system. # system.
@ -80,7 +77,7 @@
alejandra.enable = true; alejandra.enable = true;
mdformat.enable = true; mdformat.enable = true;
prettier.enable = true; prettier.enable = true;
prettier.excludes = [ ".*\.md" "flake.lock" ]; prettier.excludes = [".*\.md" "flake.lock"];
stylish-haskell.enable = true; stylish-haskell.enable = true;
}; };
}; };
@ -90,7 +87,7 @@
alejandra.enable = true; alejandra.enable = true;
mdformat.enable = true; mdformat.enable = true;
prettier.enable = true; prettier.enable = true;
prettier.excludes = [ "*.md" ]; prettier.excludes = ["*.md"];
stylish-haskell.enable = true; stylish-haskell.enable = true;
}; };
}; };