feat(rtl): service

This commit is contained in:
arcnmx 2025-01-27 15:23:27 -08:00
parent 6931de7d18
commit b4dbcc71f0
7 changed files with 156 additions and 6 deletions

View file

@ -13,6 +13,7 @@ _: {
tailscale.enable = true;
nginx.enable = true;
openwebrx.enable = true;
rtl_tcp.enable = true;
};
};
network.networks = {

View file

@ -3,7 +3,9 @@
config,
lib,
...
}: {
}: let
inherit (lib.modules) mkIf;
in {
imports = let
inherit (meta) nixos;
in [
@ -12,12 +14,14 @@
nixos.tailscale
nixos.nginx
nixos.openwebrx
nixos.rtl_tcp
];
boot.loader.grub.enable = false;
boot.loader.generic-extlinux-compatible.enable = true;
hardware.rtl-sdr.enable = true;
services.openwebrx.hardwareDev = mkIf config.services.rtl_tcp.enable null;
sops.defaultSopsFile = ./secrets.yaml;