summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-30 09:45:04 -0400
committerGitHub <[email protected]>2024-06-30 09:45:04 -0400
commitf0e8a00b8af9cfb553bfd7f90d63899158db6df8 (patch)
treebfd03c9e363b68117d1deef9f59cfc575dafb4cf /template
parent509221abec375464985cb45eaf4636e361c13b41 (diff)
style: alejandra -> nixfmt-rfc-style (#4)
Diffstat (limited to 'template')
-rw-r--r--template/flake.nix43
1 files changed, 24 insertions, 19 deletions
diff --git a/template/flake.nix b/template/flake.nix
index 4a06e40..35515da 100644
--- a/template/flake.nix
+++ b/template/flake.nix
@@ -5,23 +5,28 @@
flake-checks.url = "github:getchoo/flake-checks";
};
- outputs = {
- nixpkgs,
- flake-utils,
- flake-checks,
- ...
- }:
- flake-utils.lib.eachDefaultSystem (system: let
- pkgs = nixpkgs.legacyPackages.${system};
- flake-checks' = flake-checks.lib.mkChecks {
- inherit pkgs;
- root = ./.;
- };
- in {
- checks = {
- check-actionlint = flake-checks'.actionlint;
- check-alejandra = flake-checks'.alejandra;
- check-deadnix = flake-checks'.deadnix;
- };
- });
+ outputs =
+ {
+ nixpkgs,
+ flake-utils,
+ flake-checks,
+ ...
+ }:
+ flake-utils.lib.eachDefaultSystem (
+ system:
+ let
+ pkgs = nixpkgs.legacyPackages.${system};
+ flake-checks' = flake-checks.lib.mkChecks {
+ inherit pkgs;
+ root = ./.;
+ };
+ in
+ {
+ checks = {
+ check-actionlint = flake-checks'.actionlint;
+ check-deadnix = flake-checks'.deadnix;
+ check-nixfmt = flake-checks'.nixfmt;
+ };
+ }
+ );
}