1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{ config, ... }: { age.secrets.name = { file = ../secrets/name.age; owner = "specimen"; group = "specimen"; mode = "440"; }; services.specimen = { enable = true; listenAddress = "0.0.0.0"; port = 4444; openFirewall = true; namePath = config.age.secrets.name.path; }; }