Add flake-parts module
This commit is contained in:
parent
f0c8e1f6fe
commit
3ab1648f50
2 changed files with 13 additions and 0 deletions
11
flake-module.nix
Normal file
11
flake-module.nix
Normal file
|
|
@ -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 { };
|
||||
};
|
||||
|
||||
flakeModules.default = ./flake-module.nix;
|
||||
|
||||
darwinModules.hydra = ./modules/examples/hydra.nix;
|
||||
darwinModules.lnl = ./modules/examples/lnl.nix;
|
||||
darwinModules.simple = ./modules/examples/simple.nix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue