roles/logserver: fix incorrect sops password reference

This commit is contained in:
2025-08-24 00:42:07 -07:00
parent 7086289b1f
commit 3feed8aaaa

View File

@@ -20,7 +20,9 @@ in
};
config = mkIf cfg.enable {
sops.secrets."prometheus/password" = { };
sops.secrets."prometheus/password" = {
sopsFile = ../secrets/log-01.yml;
};
environment.systemPackages = with pkgsUnstable; [
loki
@@ -120,7 +122,7 @@ in
url = "http://log-01.tail755c5.ts.net:9090/api/v1/write";
basicAuth = {
username = "alloy";
password_file = ''${config.sops.secrets."prometheus/alloy".path}'';
password_file = ''${config.sops.secrets."prometheus/password".path}'';
};
}
];