summary refs log tree commit diff
path: root/nixos/modules/services/monitoring
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2019-10-12 22:25:28 +0200
committerJanne Heß <janne@hess.ooo>2019-10-12 22:25:28 +0200
commitd6c08776ba620b7822bd0f0b8614a329ce8157e2 (patch)
treebb2a64407ed5aa062f68239dfd7bfbb2bede6a4d /nixos/modules/services/monitoring
parentd4f085036b34cba3c60cc8c9ee7d9db965404b1f (diff)
downloadnixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar.gz
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar.bz2
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar.lz
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar.xz
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.tar.zst
nixpkgs-d6c08776ba620b7822bd0f0b8614a329ce8157e2.zip
treewide: Switch to system users
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r--nixos/modules/services/monitoring/collectd.nix1
-rw-r--r--nixos/modules/services/monitoring/fusion-inventory.nix1
-rw-r--r--nixos/modules/services/monitoring/netdata.nix1
-rw-r--r--nixos/modules/services/monitoring/zabbix-agent.nix1
4 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/collectd.nix b/nixos/modules/services/monitoring/collectd.nix
index 6a4c678eb21..d4b605d6217 100644
--- a/nixos/modules/services/monitoring/collectd.nix
+++ b/nixos/modules/services/monitoring/collectd.nix
@@ -98,6 +98,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 b90579bb70c..fe19ed56195 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 463b1b882ac..7d976db9630 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 856b9432892..b3383ed628b 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} = { };