diff options
Diffstat (limited to 'modules/private/system/monitoring-1.nix')
-rw-r--r-- | modules/private/system/monitoring-1.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/private/system/monitoring-1.nix b/modules/private/system/monitoring-1.nix index 91d30fd..dea5f45 100644 --- a/modules/private/system/monitoring-1.nix +++ b/modules/private/system/monitoring-1.nix | |||
@@ -45,9 +45,8 @@ | |||
45 | networking.firewall.allowedTCPPorts = [ 19999 ]; | 45 | networking.firewall.allowedTCPPorts = [ 19999 ]; |
46 | environment.etc."netdata/stream.conf".source = config.secrets.fullPaths."netdata-stream.conf"; | 46 | environment.etc."netdata/stream.conf".source = config.secrets.fullPaths."netdata-stream.conf"; |
47 | 47 | ||
48 | secrets.keys = [ | 48 | secrets.keys = { |
49 | { | 49 | "netdata-stream.conf" = { |
50 | dest = "netdata-stream.conf"; | ||
51 | user = config.services.netdata.user; | 50 | user = config.services.netdata.user; |
52 | group = config.services.netdata.group; | 51 | group = config.services.netdata.group; |
53 | permissions = "0400"; | 52 | permissions = "0400"; |
@@ -58,8 +57,8 @@ | |||
58 | default memory = ram | 57 | default memory = ram |
59 | health enabled by default = auto | 58 | health enabled by default = auto |
60 | '') config.myEnv.monitoring.netdata_keys); | 59 | '') config.myEnv.monitoring.netdata_keys); |
61 | } | 60 | }; |
62 | ]; | 61 | }; |
63 | users.users."${config.services.netdata.user}".extraGroups = [ "keys" ]; | 62 | users.users."${config.services.netdata.user}".extraGroups = [ "keys" ]; |
64 | # This value determines the NixOS release with which your system is | 63 | # This value determines the NixOS release with which your system is |
65 | # to be compatible, in order to avoid breaking some software such as | 64 | # to be compatible, in order to avoid breaking some software such as |