defiant/rtl-tcp: get rid of bash

bash is depreciated.
This commit is contained in:
2026-07-08 03:16:33 +09:00
parent 7354d42dc1
commit 420ce9b1e5
+1 -1
View File
@@ -5,9 +5,9 @@ let
in {
hardware.rtl-sdr.enable = true;
systemd.services.rtl-tcp = {
script = "${pkgs.rtl-sdr}/bin/rtl_tcp -a 0.0.0.0 -p ${toString port} -s 2000000 -T";
serviceConfig = {
Group = "plugdev";
ExecStart = "${pkgs.rtl-sdr}/bin/rtl_tcp -a 0.0.0.0 -p ${toString port} -s 2000000 -T";
};
};
networking.firewall.allowedTCPPorts = [ port ];