mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
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"`;
26 lines
425 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|