aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index bed190e..892f076 100644
--- a/flake.nix
+++ b/flake.nix
@@ -8,6 +8,11 @@
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
+
+ pre-commit-hooks = {
+ url = "github:cachix/git-hooks.nix";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
outputs =
@@ -145,5 +150,7 @@
config.pywal-nix.colorScheme = config.pywal-nix.colourScheme;
};
+
+ formatter = nixpkgs.legacyPackages."${system}".nixfmt-rfc-style;
});
}