Add flake-parts module
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
options.flake.darwinConfigurations = lib.mkOption {
|
||||||
|
type = lib.types.lazyAttrsOf lib.types.raw;
|
||||||
|
default = { };
|
||||||
|
description = "Darwin system configurations";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -56,6 +56,8 @@
|
|||||||
darwin-uninstaller = prev.callPackage ./pkgs/darwin-uninstaller { };
|
darwin-uninstaller = prev.callPackage ./pkgs/darwin-uninstaller { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flakeModules.default = ./flake-module.nix;
|
||||||
|
|
||||||
darwinModules.hydra = ./modules/examples/hydra.nix;
|
darwinModules.hydra = ./modules/examples/hydra.nix;
|
||||||
darwinModules.lnl = ./modules/examples/lnl.nix;
|
darwinModules.lnl = ./modules/examples/lnl.nix;
|
||||||
darwinModules.simple = ./modules/examples/simple.nix;
|
darwinModules.simple = ./modules/examples/simple.nix;
|
||||||
|
|||||||
Reference in New Issue
Block a user