Robert Hensing
Robert Hensing
`service.useHostNixDaemon` is only relevant if you want to run `nix-build` inside the container. I don't think that applies here.
It's a [Docker Compose footgun](https://docs.docker.com/compose/reference/restart/) we've inherited. > If you make changes to your docker-compose.yml configuration these changes are not reflected after running this command. The "correct" command seems to...
This does seem to indicate that we only need to evaluate the composition - not build it.
The [module](https://github.com/hercules-ci/arion/blob/master/nixos-module.nix) does not support extra arguments yet. It would be nice to have an option for this.
Kind of, if it's ok to let arion do the `buildLayeredImage` invocation. In that case enable [services.<name>.image.nixBuild](https://docs.hercules-ci.com/arion/options/#_services_name_image_nixbuild) And here's the [invocation of `buildLayeredImage` as of June 2020](https://github.com/hercules-ci/arion/blob/7609d3a88dbdd8a98bce6958756cc5902918e8aa/src/nix/modules/service/image.nix#L12)
This should be considered together with making arion aware of its deployment target, like #50. It's easy to paint yourself in corners with option defaults, so it should be designed...
Arion uses invokes the module system recursively. As an example, we have the service and NixOS "levels" of modules. When a config has `nixos.configuration.services.postgresql.enable = true` that's equivalent to `nixos.configuration...
Solution or workaround (not sure): ``` nixos.configuration = { environment.noXlibs = false; } ``` or (more radically) ``` nixos.configuration = { nixpkgs.overlays = lib.mkForce []; } ```
Thank you! The change can be improved a bit. > Is service..image.drv a good name? I try to avoid abbreviations where possible, but a different name may be needed. It...