some config for mobile box

This commit is contained in:
Tassilo - 2022-05-19 21:36:57 +02:00
parent 2359cc29dd
commit 576a5e2c63
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
2 changed files with 10 additions and 1 deletions

View File

@ -13,6 +13,8 @@
binaryCachePublicKeys = [
"dump-dvb.cachix.org-1:+Dq7gqpQG4YlLA2X3xJsG1v3BrlUGGpVtUKWk0dTyUU="
];
nix.buildCores = 2;
};
# Select internationalisation properties.

View File

@ -60,12 +60,19 @@ in
Type = "simple";
};
script = ''
${pkgs.linux-router}/bin/lnxrouter --ap wlan0 dump-dvb -g 10.3.141.1 -p trolling-dvb
${pkgs.linux-router}/bin/lnxrouter --ap wlp0s20ul dump-dvb -g 10.3.141.1 -p trolling-dvb
'';
};
};
};
environment.systemPackages = with pkgs; [
usbUtils
hackrf
iw
tcpdump
];
# user accounts for systemd units
users.users = {
gnuradio = {