Commit 772d931

HPCesia <me@hpcesia.com>
2026-07-12 08:08:19
Fix GoatCounter's option name
1 parent c46992e
Changed files (1)
modules
modules/services/goatcounter.nix
@@ -2,7 +2,7 @@
   den.aspects.services.goatcounter = {
     settings = {
       domains = lib.mkOption {
-        type = lib.listOf lib.types.str;
+        type = lib.types.listOf lib.types.str;
         default = [];
       };
       port = lib.mkOption {
@@ -25,7 +25,7 @@
     reverseProxy = {host, ...}: let
       cfg = host.settings.services.goatcounter;
     in
-      lib.genAttrs cfg.domains {inherit (cfg) port;};
+      lib.genAttrs cfg.domains (_: {inherit (cfg) port;});
 
     nixos = {host, ...}: let
       cfg = host.settings.services.goatcounter;