nix/nixos/hosts/piaware-rpi4/containers/piaware.nix

20 lines
499 B
Nix
Raw Normal View History

2024-04-07 14:05:15 +02:00
{ ... }: {
2024-03-25 01:50:18 +01:00
# Containers
virtualisation.oci-containers.containers."piaware" = {
image = "ghcr.io/sdr-enthusiasts/docker-piaware:latest";
environment = {
FEEDER_ID = "cdca89ee-6612-4707-b0bb-ffb78d156c47";
2024-11-24 20:31:22 +01:00
LAT = "52.22";
LONG = "21.01";
2024-03-25 01:50:18 +01:00
RECEIVER_TYPE = "rtlsdr";
TZ = "Asia/Tokyo";
};
ports = [ "8080:80/tcp" ];
log-driver = "journald";
extraOptions = [
"--device=/dev/bus/usb:/dev/bus/usb"
"--network-alias=piaware"
];
};
}