1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2025-01-06 03:27:17 +03:00

image-builder/filesystem-image: Make entrypoint a proper module too

This commit is contained in:
Samuel Dionne-Riel 2023-05-06 17:26:41 -04:00
parent eb8db38ef4
commit d43a1bb000
4 changed files with 9 additions and 7 deletions

View File

@ -14,7 +14,7 @@
_module.args.pkgs = pkgs;
});
filesystem-image = lib.types.submodule ({
imports = import (./filesystem-image/module-list.nix);
imports = [ ./filesystem-image ];
_module.args.pkgs = pkgs;
});
};

View File

@ -0,0 +1,7 @@
{
imports = [
../helpers.nix
./basic.nix
./filesystem
];
}

View File

@ -7,7 +7,7 @@
}:
let config' = config; in
rec {
module = { imports = import ./module-list.nix; };
module = { imports = [ ./. ]; };
config = (pkgs.lib.evalModules {
modules = [
{ _module.args.pkgs = pkgs; }

View File

@ -1,5 +0,0 @@
[
../helpers.nix
./basic.nix
./filesystem
]