2024-01-17 09:31:35 +00:00
|
|
|
{ lib, flake-parts-lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
options = {
|
|
|
|
flake = flake-parts-lib.mkSubmoduleOptions {
|
|
|
|
homeConfigurations = lib.mkOption {
|
|
|
|
type = with lib.types; lazyAttrsOf raw;
|
2024-01-17 09:58:00 +00:00
|
|
|
default = { };
|
2024-01-17 09:31:35 +00:00
|
|
|
description = ''
|
|
|
|
Instantiated home-manager configurations.
|
|
|
|
|
|
|
|
`homeConfigurations is for specific home environments. If you want to
|
|
|
|
add reusable components, add them to {option}`homeModules`.
|
|
|
|
'';
|
|
|
|
example = lib.literalExpression ''
|
|
|
|
{
|
|
|
|
foodogsquared = inputs.home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = inputs.nixpkgs.legacyPackages.''${system};
|
|
|
|
modules = [
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
./home.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|