Went back to root so it works
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user