From 285def0953b5afc6baf6f82e62944f812cf9c130 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 18 May 2024 22:34:12 +0900 Subject: feat(modules/rss)!: rename whitelist -> enabled_bridges --- modules/services/rss.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/services/rss.nix b/modules/services/rss.nix index c9663ee..70dc09c 100644 --- a/modules/services/rss.nix +++ b/modules/services/rss.nix @@ -14,7 +14,7 @@ in enable = mkEnableOption "RSS Bridge"; domain = mkOption { type = types.str; default = cfg.domain; }; realHost = mkOption { type = types.str; default = "rss-bridge.${cfg.bridge.domain}"; }; - whitelist = mkOption { type = types.listOf types.str; default = []; }; + enabled_bridges = mkOption { type = types.listOf types.str; default = []; }; }; }; @@ -47,8 +47,8 @@ in services.rss-bridge = { enable = true; virtualHost = cfg.bridge.realHost; - } // optionalAttrs (cfg.bridge.whitelist != []) { - whitelist = cfg.bridge.whitelist; + } // optionalAttrs (cfg.bridge.enabled_bridges != []) { + config.system.enabled_bridges = cfg.bridge.enabled_bridges; }; modules.persistence.directories = [ -- cgit 1.4.1