From abaa76a8523e6e81e2c30bb073d3200d0283b15b Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 19 Jul 2026 16:38:43 +0200 Subject: modules/monitoring/: Hard-code all the {u,g}ids --- modules/by-name/mo/monitoring/components/scrutiny.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/by-name/mo/monitoring/components/scrutiny.nix') 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; -- cgit v1.3.1