From fc067a84932ffe8395e1f16ec2a05eb7f2ec647b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 1 Dec 2021 09:53:15 +0100 Subject: [PATCH] feat(retiolum-map): use 21.11 geoipupdate --- configs/retiolum-map.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/configs/retiolum-map.nix b/configs/retiolum-map.nix index c967fc4..c3711d4 100644 --- a/configs/retiolum-map.nix +++ b/configs/retiolum-map.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: let network = "retiolum"; @@ -38,9 +38,13 @@ in }; }; - services.geoip-updater = { + services.geoipupdate = { enable = true; - databases = [ "GeoLite2-City.mmdb.gz" ]; + settings = { + AccountID = 608777; + LicenseKey = toString ; + EditionIDs = [ "GeoLite2-City" ]; + }; }; services.nginx = {