fix alloy

This commit is contained in:
chris 2025-03-15 20:26:44 +01:00
commit 43145bbd19
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
4 changed files with 44 additions and 26 deletions

View file

@ -8,16 +8,16 @@
{
sops = {
secrets."services/loki/basic_auth" = {
mode = "0440";
owner = "alloy";
group = "alloy";
mode = "0444";
owner = "nobody";
group = "nobody";
restartUnits = [ "alloy.service" ];
sopsFile = ../secrets/passwords.yaml;
};
secrets."services/mimir/basic_auth" = {
mode = "0440";
owner = "alloy";
group = "alloy";
mode = "0444";
owner = "nobody";
group = "nobody";
restartUnits = [ "alloy.service" ];
sopsFile = ../secrets/passwords.yaml;
};
@ -25,7 +25,6 @@
services.alloy = {
enable = true;
configPath = "/etc/alloy/config.alloy";
};
environment.etc."alloy/config.alloy" = {