flake: home-manager: import common modules

This commit is contained in:
Bruno BELANYI 2024-01-03 16:50:16 +00:00
parent d113742905
commit fe6df44b85

View file

@ -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";
}; };
}; };