From 11d1ac6dae9149b8e5d972f5a8c4853cf39be0f7 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 11 Feb 2024 17:43:48 +0100 Subject: [PATCH] Added missing defaults --- satnogs-client-docker-module.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/satnogs-client-docker-module.nix b/satnogs-client-docker-module.nix index 240f6e4..228eab8 100644 --- a/satnogs-client-docker-module.nix +++ b/satnogs-client-docker-module.nix @@ -10,6 +10,7 @@ in satnogs-api-token = mkOption { type = types.str; + default = ""; description = mdDoc '' It is recommended to use additional-env-files instead and provide the token, via something like agenix, so that it wont end up in the nix-store; @@ -26,6 +27,7 @@ in satnogs-soapy-rx-device = mkOption { type = types.str; + default = "driver=rtlsdr"; description = mdDoc '' If you are using an RTL-SDR, this is `driver=rtlsdr`. For other devices tested configurations can be found at [Software Defined Radio](https://wiki.satnogs.org/Software_Defined_Radio). @@ -37,6 +39,7 @@ in satnogs-antenna = mkOption { type = types.str; + default = "RX"; description = mdDoc '' If you are using an RTL-SDR, this is RX. For other devices tested configurations can be found at [Software Defined Radio](https://wiki.satnogs.org/Software_Defined_Radio). @@ -47,6 +50,7 @@ in satnogs-rx-samp-rate = mkOption { type = types.str; + default = "2.048e6"; description = mdDoc '' Specify the receiver sampling rate. Recommended value for RTL-SDR: 2.048e6 (for 2Msps), @@ -58,6 +62,7 @@ in satnogs-rf-gain = mkOption { type = types.str; + default = "32.8"; description = mdDoc '' RF Gain value for your SDR hardware. @@ -69,6 +74,7 @@ in satnogs-station-elev = mkOption { type = types.str; + default = ""; description = mdDoc '' The height of your ground station above sea level in metres. ''; @@ -76,6 +82,7 @@ in satnogs-station-id = mkOption { type = types.str; + default = ""; description = mdDoc '' The **numeric ID** assigned to your station in the SatNOGS Network site when the groundstation was created. ''; @@ -83,6 +90,7 @@ in satnogs-station-lat = mkOption { type = types.str; + default = ""; description = mdDoc '' The latitude of your station. North is positive, south is negative. ''; @@ -90,6 +98,7 @@ in satnogs-station-lon = mkOption { type = types.str; + default = ""; description = mdDoc '' The longitude of your station. East is positive, west is negative. '';