feat(nix): pass flake self to darwin modules and add revision

This commit is contained in:
Mohammad Rafiq 2025-07-09 09:35:56 +08:00
parent 0f741cbb36
commit 45414c48b9
No known key found for this signature in database
5 changed files with 20 additions and 3 deletions

View file

@ -1,11 +1,14 @@
{
outputs =
inputs:
{ self, ... }@inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } (
(inputs.import-tree ./nix)
// {
systems = import inputs.systems;
flake.paths.root = ./.;
flake = {
inherit self;
paths.root = ./.;
};
}
);
inputs = {