makefu: add rad1o.nix

This commit is contained in:
makefu 2015-08-14 18:00:46 +00:00
parent ff20685a15
commit e4afee25e2

View file

@ -1,12 +1,15 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnuradio-full
gnuradio-osmosdr gnuradio-osmosdr
gnuradio
gqrx gqrx
]; ];
users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "dialout" ]; users.extraUsers.${config.krebs.build.user.name}.extraGroups = [ "dialout" ];
services.udev.extraRules = '' services.udev.extraRules = ''
ATTR{idVendor}=="1d50", ATTR{idProduct}=="604b", SYMLINK+="hackrf-jawbreaker-%k", MODE="0666", GROUP="dialout" 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" ATTR{idVendor}=="1d50", ATTR{idProduct}=="6089", SYMLINK+="hackrf-one-%k", MODE="0666", GROUP="dialout"