This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
treefmt/nix/nixpkgs.nix
2023-12-23 12:50:51 +00:00

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;
};
};
};
}