summaryrefslogtreecommitdiff
path: root/hosts/vidhar
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar')
-rw-r--r--hosts/vidhar/prometheus.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/vidhar/prometheus.nix b/hosts/vidhar/prometheus.nix
index 2ad6667a..7cbb36d4 100644
--- a/hosts/vidhar/prometheus.nix
+++ b/hosts/vidhar/prometheus.nix
@@ -42,6 +42,7 @@ in {
42 unbound = { 42 unbound = {
43 enable = true; 43 enable = true;
44 controlInterface = "/run/unbound/unbound.ctl"; 44 controlInterface = "/run/unbound/unbound.ctl";
45 group = config.services.unbound.group;
45 }; 46 };
46 wireguard.enable = true; 47 wireguard.enable = true;
47 }; 48 };
@@ -110,7 +111,12 @@ in {
110 ]; 111 ];
111 }; 112 };
112 users.users.${config.services.prometheus.exporters.unbound.user} = { 113 users.users.${config.services.prometheus.exporters.unbound.user} = {
113 extraGroups = [ config.services.unbound.group ]; 114 description = "Prometheus unbound exporter service user";
115 isSystemUser = true;
116 group = config.services.unbound.group;
117 };
118 systemd.services."prometheus-unbound-exporter".serviceConfig = {
119 DynamicUser = false;
114 }; 120 };
115 121
116 systemd.services."prometheus-zte-exporter@10.141.1.3" = { 122 systemd.services."prometheus-zte-exporter@10.141.1.3" = {