2023-03-14 10:48:19 +01:00
|
|
|
{
|
2023-05-27 13:45:28 -04:00
|
|
|
inputs,
|
2023-03-14 10:48:19 +01:00
|
|
|
self,
|
2023-05-27 13:45:28 -04:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./dev.nix
|
|
|
|
./distribution.nix
|
|
|
|
];
|
2022-01-08 01:33:26 -06:00
|
|
|
|
2023-05-27 13:45:28 -04:00
|
|
|
_module.args = {
|
|
|
|
# User-friendly version number.
|
|
|
|
version = builtins.substring 0 8 self.lastModifiedDate;
|
|
|
|
};
|
2022-01-09 09:08:39 +03:00
|
|
|
|
2023-05-27 13:45:28 -04:00
|
|
|
perSystem = {system, ...}: {
|
|
|
|
# Nixpkgs instantiated for supported systems with our overlay.
|
|
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
overlays = [self.overlays.default];
|
|
|
|
};
|
|
|
|
};
|
2022-01-08 01:33:26 -06:00
|
|
|
|
2023-05-27 13:45:28 -04:00
|
|
|
# Supported systems.
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
2023-08-04 11:55:31 -04:00
|
|
|
"x86_64-darwin"
|
|
|
|
"aarch64-darwin"
|
2023-04-02 11:33:04 +02:00
|
|
|
];
|
2022-01-08 21:55:19 +03:00
|
|
|
}
|