Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global CA/PVA address list NixOS option #224

Open
minijackson opened this issue Dec 17, 2024 · 0 comments
Open

Add global CA/PVA address list NixOS option #224

minijackson opened this issue Dec 17, 2024 · 0 comments
Assignees

Comments

@minijackson
Copy link
Collaborator

minijackson commented Dec 17, 2024

So that the end user only has to set it once for all services.

Something like this:

environment.epics = {
  ca_addr_list = [ "host1" "host2" ];
  ca_auto_addr_list = false;
};

And it would set:

{
  environment.variables.EPICS_CA_ADDR_LIST = "host1 host2";
  # and the same for ca_auto_addr_list

  services.archiver-appliance.settings.EPICS_CA_ADDR_LIST = [ "host1" "host2" ];
  services.phoebus-alarm-server.settings."org.phoebus.pv.ca/addr_list" = [ "host1" "host2" ];
  # etc.
}

cc @achoqt

@minijackson minijackson self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant