From e38b8899e4a49c7bc4e272a11b695c4dfc6c54a9 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 14 Aug 2015 18:00:46 +0000 Subject: makefu: add rad1o.nix --- makefu/2configs/rad1o.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'makefu') diff --git a/makefu/2configs/rad1o.nix b/makefu/2configs/rad1o.nix index d20b271c0..03bb9bc7e 100644 --- a/makefu/2configs/rad1o.nix +++ b/makefu/2configs/rad1o.nix @@ -1,12 +1,15 @@ { config, lib, pkgs, ... }: { + environment.systemPackages = with pkgs; [ + gnuradio-full gnuradio-osmosdr - gnuradio gqrx ]; + users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "dialout" ]; + services.udev.extraRules = '' ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="0666", GROUP="dialout" ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="0666", GROUP="dialout" -- cgit v1.2.3