BenediktSeidl / nixos-check_mk_agent-overlay

MIT License
9 stars 4 forks source link

Any way to change Docker socket location? #7

Open konstantinhirschfeld opened 1 month ago

konstantinhirschfeld commented 1 month ago

Hi, for my usecase I need to set a different docker socket path. Is this possible with this package? There is a config option for doing so but I cant find the correct directory in which so copy my config.

BenediktSeidl commented 1 month ago

i took a short look and it seems to be possible to set the base_url in docker.cfg, which is normally in /etc/check_mk/docker.cfg according to the checkmk docs. But this directory has a dynamic name for the nixos installation. it should be possible to make this option available.

do you have a good idea how to design this on the nix side? where to put this configuration option?

konstantinhirschfeld commented 1 month ago

I have next to no nix packaging experience. When I find the time I'll have a read into it and open a PR.