Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
KaylorBen committed Nov 18, 2024
1 parent 1097dfd commit 2c7ff43
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 11 deletions.
68 changes: 61 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,23 @@
flake-compat.url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
treefmt-nix.url = "github:numtide/treefmt-nix";
};
outputs = { self, nixpkgs, systems, treefmt-nix, ... }:
outputs =
{
self,
nixpkgs,
systems,
treefmt-nix,
...
}:
let
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});

treefmtEval = eachSystem (pkgs: treefmt-nix.lib.evalModule pkgs ./treefmt.nix);
in {
homeManagerModules.nixcord = import ./hm-module.nix;
} // {
in
{
homeManagerModules.nixcord = import ./hm-module.nix;
}
// {
# formatter & check
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);
checks = eachSystem (pkgs: {
Expand Down

0 comments on commit 2c7ff43

Please sign in to comment.