Move modules into modules/{composition,service}
This commit is contained in:
parent
3714883723
commit
359c8b601d
4 changed files with 6 additions and 6 deletions
|
@ -18,7 +18,7 @@ let
|
|||
|
||||
builtinModules = [
|
||||
argsModule
|
||||
./docker-compose-module.nix
|
||||
./modules/composition/docker-compose.nix
|
||||
];
|
||||
|
||||
argsModule = {
|
||||
|
|
|
@ -21,13 +21,13 @@ let
|
|||
|
||||
builtinModules = [
|
||||
argsModule
|
||||
./service.nix
|
||||
./service-host-store.nix
|
||||
../service/docker-compose-service.nix
|
||||
../service/host-store.nix
|
||||
];
|
||||
|
||||
argsModule = {
|
||||
_file = ./docker-compose-module.nix;
|
||||
key = ./docker-compose-module.nix;
|
||||
_file = ./docker-compose.nix;
|
||||
key = ./docker-compose.nix;
|
||||
config._module.args.pkgs = lib.mkForce pkgs;
|
||||
config._module.args.uid = uid;
|
||||
config._module.args.customNixRootPath = customNixRootPath;
|
|
@ -19,7 +19,7 @@ in
|
|||
};
|
||||
config = mkIf config.service.useHostStore {
|
||||
service.image = "arion-base";
|
||||
service.build.context = "${../arion-image}";
|
||||
service.build.context = "${../../../arion-image}";
|
||||
service.volumes = [
|
||||
"${customNixRootPath}/nix/store:/nix/store"
|
||||
"${customNixRootPath}${pkgs.buildEnv { name = "container-system-env"; paths = [ pkgs.bashInteractive pkgs.coreutils ]; }}:/run/system"
|
Loading…
Reference in a new issue