diff options
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/1systems/tsp.nix | 8 | ||||
-rw-r--r-- | makefu/2configs/rad1o.nix | 19 |
2 files changed, 27 insertions, 0 deletions
diff --git a/makefu/1systems/tsp.nix b/makefu/1systems/tsp.nix index f19dbfea6..388ded068 100644 --- a/makefu/1systems/tsp.nix +++ b/makefu/1systems/tsp.nix @@ -12,12 +12,20 @@ ../2configs/sda-crypto-root.nix # hardware specifics are in here ../2configs/tp-x200.nix + + ../2configs/disable_v6.nix + ../2configs/rad1o.nix ]; # not working in vm krebs.build.host = config.krebs.hosts.tsp; krebs.build.user = config.krebs.users.makefu; krebs.build.target = "root@tsp"; + krebs.exim-retiolum.enable = true; + networking.firewall.allowedTCPPorts = [ + 25 + ]; + krebs.build.deps = { nixpkgs = { #url = https://github.com/NixOS/nixpkgs; diff --git a/makefu/2configs/rad1o.nix b/makefu/2configs/rad1o.nix new file mode 100644 index 000000000..03bb9bc7e --- /dev/null +++ b/makefu/2configs/rad1o.nix @@ -0,0 +1,19 @@ +{ config, lib, pkgs, ... }: + +{ + + environment.systemPackages = with pkgs; [ + gnuradio-full + gnuradio-osmosdr + 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" + ATTR{idVendor}=="1d50", ATTR{idProduct}=="cc15", SYMLINK+="rad1o-%k", MODE="0666", GROUP="dialout" + ATTR{idVendor}=="1fc9", ATTR{idProduct}=="000c", SYMLINK+="nxp-dfu-%k", MODE="0666", GROUP="dialout" + ''; +} |