nix/nixos/common/containers/piaware.nix
2025-02-24 13:21:23 -08:00

20 lines
571 B
Nix

{ ... }: {
# Containers
virtualisation.oci-containers.containers."piaware" = {
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
environment = {
FEEDER_ID = "cdca89ee-6612-4707-b0bb-ffb78d156c47";
# TODO: Move these to SOPS when I get a more precise location
LAT = "52.22";
LONG = "21.01";
RECEIVER_TYPE = "rtlsdr";
TZ = "Europe/Warsaw";
};
ports = [ "8080:80/tcp" ];
log-driver = "journald";
extraOptions = [
"--device=/dev/bus/usb:/dev/bus/usb"
"--network-alias=piaware"
];
};
}