blob: 1c54b0ce0413cee0e2accb21f5dff40fc1e58105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
lib,
flake-parts-lib,
...
}: let
inherit (lib) mkOption types literalExpression;
inherit (flake-parts-lib) mkTransposedPerSystemModule;
in
mkTransposedPerSystemModule {
name = "homeConfigurations";
option = mkOption {
type = types.lazyAttrsOf types.raw;
default = {};
description = ''
Instantiated home-manager configurations. Used by `home-manager`
'';
example = literalExpression ''
{
user = inputs.home-manager.homeManagerConfiguration {
pkgs = import inputs.nixpkgs {inherit system;};
modules = [
./my-users/home.nix
];
};
}
'';
};
file = ./homeConfigurations.nix;
}
|