Commit 772d931
Changed files (1)
modules
services
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;