🎨 move to nixfmt-rfc-style

This commit is contained in:
2024-12-07 20:46:15 -05:00
parent 9ea7912596
commit a53ad5a5ae
36 changed files with 412 additions and 193 deletions

View File

@ -42,20 +42,37 @@
};
};
outputs = { self, nixpkgs, flake-utils, deploy-rs, pre-commit-hooks, ... }@inputs:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
checks = import ./nix/checks.nix { inherit self pkgs deploy-rs system pre-commit-hooks; };
devShells = import ./nix/shells.nix { inherit self pkgs system; };
formatter = pkgs.nixpkgs-fmt;
})
outputs =
{
self,
nixpkgs,
flake-utils,
deploy-rs,
pre-commit-hooks,
...
}@inputs:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ self.overlays.default ];
};
in
{
checks = import ./nix/checks.nix {
inherit
self
pkgs
deploy-rs
system
pre-commit-hooks
;
};
devShells = import ./nix/shells.nix { inherit self pkgs system; };
formatter = pkgs.nixfmt-rfc-style;
}
)
// {
hosts = import ./nix/hosts.nix;
overlays.default = nixpkgs.lib.composeManyExtensions [ ];