diff options
author | makefu <makefu@tsp> | 2015-08-14 18:00:46 +0000 |
---|---|---|
committer | makefu <makefu@tsp> | 2015-08-14 18:00:46 +0000 |
commit | e38b8899e4a49c7bc4e272a11b695c4dfc6c54a9 (patch) | |
tree | 2d88adadbff7113bc513edf19af02a0c22649bf2 /makefu/2configs | |
parent | d35de37b0d2b9d5d567a530726aa01f2ec686bf3 (diff) |
makefu: add rad1o.nix
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/rad1o.nix | 5 |
1 files changed, 4 insertions, 1 deletions
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" |