Went back to root so it works

This commit is contained in:
2025-07-03 15:29:07 +03:00
parent b0340ce4a3
commit c03f344a05

View File

@@ -76,15 +76,6 @@
grafana-alloy
];
users.groups.alloy = { };
users.users.alloy = {
createHome = false;
isNormalUser = true;
group = "alloy";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO7P9K9D5RkBk+JCRRS6AtHuTAc6cRpXfRfRMg/Kyren"
];
};
systemd.services.alloy = {
description = "Alloy";
@@ -100,8 +91,8 @@
Restart = "always";
RestartSec = "2s";
User = "alloy"; # TODO: make these not root?
Group = "alloy";
User = "root"; # TODO: make these not root?
Group = "root";
SupplementaryGroups = [
# allow to read the systemd journal for loki log forwarding