flake: home-manager: import common modules
This commit is contained in:
parent
d113742905
commit
fe6df44b85
|
@ -14,6 +14,8 @@ let
|
||||||
# Enable home-manager
|
# Enable home-manager
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
# Import common modules
|
||||||
|
"${self}/modules/common"
|
||||||
];
|
];
|
||||||
|
|
||||||
mkHome = name: system: inputs.home-manager.lib.homeManagerConfiguration {
|
mkHome = name: system: inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
|
@ -36,6 +38,8 @@ let
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
# Inject inputs to use them in global registry
|
# Inject inputs to use them in global registry
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
# For consumption by common modules
|
||||||
|
type = "home";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue