mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-27 01:44:13 +03:00
17 lines
352 B
Nix
17 lines
352 B
Nix
{inputs, ...}: {
|
|
perSystem = {system, ...}: {
|
|
# customise nixpkgs instance
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
inherit system;
|
|
overlays = [
|
|
inputs.gomod2nix.overlays.default
|
|
];
|
|
config = {
|
|
# for terraform
|
|
# todo make this more specific
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
};
|
|
}
|