mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(rtl): service
This commit is contained in:
parent
6931de7d18
commit
b4dbcc71f0
7 changed files with 156 additions and 6 deletions
|
|
@ -13,6 +13,7 @@ _: {
|
|||
tailscale.enable = true;
|
||||
nginx.enable = true;
|
||||
openwebrx.enable = true;
|
||||
rtl_tcp.enable = true;
|
||||
};
|
||||
};
|
||||
network.networks = {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue