nix-community.nixvim/flake-modules/default.nix
Matt Sturgeon ec78d2e1ab
flake-modules: drop flake-root
treefmt isn't actually using flake-root to find the flake's root; it
does it itself.

All we were doing was passing flake-root's default `projectRootFile` to
treefmt, which is `"flake.nix"`;
2024-06-05 09:09:07 +01:00

26 lines
425 B
Nix

{ inputs, ... }:
{
imports = [
./dev
./helpers.nix
./lib.nix
./legacy-packages.nix
./modules.nix
./overlays.nix
./packages.nix
./templates.nix
./tests.nix
./wrappers.nix
];
perSystem =
{ pkgs, system, ... }:
{
_module.args = {
pkgsUnfree = import inputs.nixpkgs {
inherit system;
config.allowUnfree = true;
};
};
};
}