aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/mo/monitoring/components/scrutiny.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-19 16:38:43 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-07-19 16:38:43 +0200
commitabaa76a8523e6e81e2c30bb073d3200d0283b15b (patch)
tree680880d342e052e305a581f0f04a26e2eb58715d /modules/by-name/mo/monitoring/components/scrutiny.nix
parentmodules/monitoring/grafana: Put behind anubis (diff)
downloadnixos-server-abaa76a8523e6e81e2c30bb073d3200d0283b15b.zip
modules/monitoring/: Hard-code all the {u,g}ids
Diffstat (limited to '')
-rw-r--r--modules/by-name/mo/monitoring/components/scrutiny.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/by-name/mo/monitoring/components/scrutiny.nix b/modules/by-name/mo/monitoring/components/scrutiny.nix
index d69dcab..93212dd 100644
--- a/modules/by-name/mo/monitoring/components/scrutiny.nix
+++ b/modules/by-name/mo/monitoring/components/scrutiny.nix
@@ -33,6 +33,19 @@ in {
];
};
+ users = {
+ groups = {
+ smartctl-exporter-access.gid = config.vhack.constants.ids.gids.smartctl-exporter-access;
+ };
+ users = {
+ smartctl-exporter-access = {
+ isSystemUser = true;
+ group = "smartctl-exporter-access";
+ uid = config.vhack.constants.ids.uids.smartctl-exporter-access;
+ };
+ };
+ };
+
services = {
scrutiny = {
enable = true;