refactor(nix): clarify flake module naming
This commit is contained in:
+7
-4
@@ -16,13 +16,16 @@
|
||||
|
||||
outputs = inputs@{ flake-parts, import-tree, home-manager, ... }:
|
||||
let
|
||||
mkFlake = flake-parts.lib.mkFlake;
|
||||
flakeParts = flake-parts.lib.mkFlake;
|
||||
|
||||
flakeArgs = {
|
||||
flakeModuleArguments = {
|
||||
inherit inputs;
|
||||
};
|
||||
|
||||
flakeConfig = {
|
||||
mkFlakeWithModuleArguments =
|
||||
flakeParts flakeModuleArguments;
|
||||
|
||||
flakeModule = {
|
||||
imports = [
|
||||
home-manager.flakeModules.home-manager
|
||||
(import-tree ./modules)
|
||||
@@ -34,5 +37,5 @@
|
||||
];
|
||||
};
|
||||
in
|
||||
mkFlake flakeArgs flakeConfig;
|
||||
mkFlakeWithModuleArguments flakeModule;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user