nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

gpsd: add listenany option

authored by

Matt Melling and committed by
Bjørn Forsman
e2b79f08 fee673de

+9
+9
nixos/modules/services/misc/gpsd.nix
··· 77 77 ''; 78 78 }; 79 79 80 + listenany = mkOption { 81 + type = types.bool; 82 + default = false; 83 + description = lib.mdDoc '' 84 + Listen on all addresses rather than just loopback. 85 + ''; 86 + }; 87 + 80 88 }; 81 89 82 90 }; ··· 114 106 -S "${toString cfg.port}" \ 115 107 ${optionalString cfg.readonly "-b"} \ 116 108 ${optionalString cfg.nowait "-n"} \ 109 + ${optionalString cfg.listenany "-G"} \ 117 110 "${cfg.device}" 118 111 ''; 119 112 };