nyx/modules/flake/args.nix

20 lines
562 B
Nix
Raw Normal View History

2025-01-12 18:35:44 +02:00
{inputs, ...}: {
systems = import inputs.systems;
perSystem = {system, ...}: {
# this is what controls how packages in the flake are built, but this is not passed to the
# builders in lib which is important to note, since we have to do something different for
# the builders to work correctly
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
2025-01-26 00:36:34 +02:00
overlays = [
# inputs.nix-topology.overlays.default
];
2025-01-12 18:35:44 +02:00
};
};
}