From ba7aa1f1a74dec2e09db8efd249bc8a73667d1c4 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sat, 5 Nov 2022 12:18:57 +0100 Subject: [PATCH] remove samba stuff from netdata again --- nixos/system/server/netdata.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 + #''; }