Dev #2

Merged
poslop merged 31 commits from dev into master 2026-07-23 12:48:53 -05:00
Showing only changes of commit 3651da7577 - Show all commits
+22 -2
View File
@@ -2,7 +2,6 @@
inputs,
config,
pkgs,
username,
...
}:
@@ -81,7 +80,18 @@
8642
];
systemd.services.hermes-dashboard = {
systemd = {
paths.hermes-perms-watch = {
description = "Watch hermes data dir for permission changes";
wantedBy = [ "multi-user.target" ];
pathConfig = {
PathChanged = "/var/lib/hermes/.hermes";
Unit = "hermes-perms-fix.service";
};
};
services = {
hermes-dashboard = {
description = "Hermes Agent Web Dashboard";
after = [ "hermes-agent.service" ];
bindsTo = [ "hermes-agent.service" ];
@@ -95,4 +105,14 @@
StartLimitBurst = 3;
};
};
hermes-perms-fix = {
description = "Fix hermes data dir permissions";
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.coreutils}/bin/chmod 770 -R /var/lib/hermes/.hermes";
};
};
};
};
}