diff options
author | Silvan Mosberger <contact@infinisil.com> | 2019-11-01 13:26:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-01 13:26:43 +0100 |
commit | dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6 (patch) | |
tree | cc6d45380510bc73529360b46cac70fa4b3afa6e /nixos/modules/services/monitoring | |
parent | eb2284508d7a1362e434f042aa0df5bdcb7285dc (diff) | |
parent | d6c08776ba620b7822bd0f0b8614a329ce8157e2 (diff) | |
download | nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar.gz nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar.bz2 nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar.lz nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar.xz nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.tar.zst nixlib-dd0a47e7ae2f6f33298c61f75aff2652e0a2f6d6.zip |
treewide: Switch to system users (#71055)
treewide: Switch to system users
Diffstat (limited to 'nixos/modules/services/monitoring')
4 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix index b2e44a1e3666..731ac743b7c6 100644 --- a/nixos/modules/services/monitoring/collectd.nix +++ b/nixos/modules/services/monitoring/collectd.nix @@ -131,6 +131,7 @@ in { users.users = optional (cfg.user == "collectd") { name = "collectd"; + isSystemUser = true; }; }; } diff --git a/nixos/modules/services/monitoring/fusion-inventory.nix b/nixos/modules/services/monitoring/fusion-inventory.nix index b90579bb70c7..fe19ed561954 100644 --- a/nixos/modules/services/monitoring/fusion-inventory.nix +++ b/nixos/modules/services/monitoring/fusion-inventory.nix @@ -49,6 +49,7 @@ in { users.users = singleton { name = "fusion-inventory"; description = "FusionInventory user"; + isSystemUser = true; }; systemd.services.fusion-inventory = { diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 463b1b882acf..7d976db96300 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -181,6 +181,7 @@ in { users.users = optional (cfg.user == defaultUser) { name = defaultUser; + isSystemUser = true; }; users.groups = optional (cfg.group == defaultUser) { diff --git a/nixos/modules/services/monitoring/zabbix-agent.nix b/nixos/modules/services/monitoring/zabbix-agent.nix index 856b9432892b..b3383ed628b2 100644 --- a/nixos/modules/services/monitoring/zabbix-agent.nix +++ b/nixos/modules/services/monitoring/zabbix-agent.nix @@ -131,6 +131,7 @@ in users.users.${user} = { description = "Zabbix Agent daemon user"; inherit group; + isSystemUser = true; }; users.groups.${group} = { }; |