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:
parent
eb8db38ef4
commit
d43a1bb000
@ -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;
|
||||
});
|
||||
};
|
||||
|
7
overlay/image-builder/filesystem-image/default.nix
Normal file
7
overlay/image-builder/filesystem-image/default.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
../helpers.nix
|
||||
./basic.nix
|
||||
./filesystem
|
||||
];
|
||||
}
|
@ -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; }
|
||||
|
@ -1,5 +0,0 @@
|
||||
[
|
||||
../helpers.nix
|
||||
./basic.nix
|
||||
./filesystem
|
||||
]
|
Loading…
Reference in New Issue
Block a user