Add flake-parts module

This commit is contained in:
Manuel Mendez 2025-12-27 21:37:17 -05:00
parent f0c8e1f6fe
commit 3ab1648f50
2 changed files with 13 additions and 0 deletions

11
flake-module.nix Normal file
View file

@ -0,0 +1,11 @@
{
lib,
...
}:
{
options.flake.darwinConfigurations = lib.mkOption {
type = lib.types.lazyAttrsOf lib.types.raw;
default = { };
description = "Darwin system configurations";
};
}

View file

@ -56,6 +56,8 @@
darwin-uninstaller = prev.callPackage ./pkgs/darwin-uninstaller { };
};
flakeModules.default = ./flake-module.nix;
darwinModules.hydra = ./modules/examples/hydra.nix;
darwinModules.lnl = ./modules/examples/lnl.nix;
darwinModules.simple = ./modules/examples/simple.nix;