diff --git a/nixos/system/server/netdata.nix b/nixos/system/server/netdata.nix index 68e1ea3..84c069a 100644 --- a/nixos/system/server/netdata.nix +++ b/nixos/system/server/netdata.nix @@ -7,20 +7,20 @@ "memory mode" = "ram"; }; }; - configDir."python.d.conf" = pkgs.writeText "python.d.conf" '' - example: yes - default_run: no - samba: yes - ''; + #configDir."python.d.conf" = pkgs.writeText "python.d.conf" '' + # example: yes + # default_run: no + # samba: yes + #''; }; # add samba to path of python plugin - systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ]; - systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ]; - security.sudo.extraConfig = '' - netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus - netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus - ''; + #systemd.services.netdata.path = [ pkgs.sudo pkgs.samba ]; + #systemd.services.netdata.serviceConfig.CapabilityBoundingSet = [ "~" ]; + #security.sudo.extraConfig = '' + # netdata ALL=(root) NOPASSWD: ${pkgs.samba}/bin/smbstatus + # netdata ALL=(root) NOPASSWD: /run/current-system/sw/bin/smbstatus + #''; }