From 758281f7727cc82e8ad7f719856b8787150f63d2 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 23 Nov 2023 03:37:18 +0000 Subject: [PATCH] modules/feeds: remove unused parameter --- modules/feeds.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/feeds.nix b/modules/feeds.nix index f7d46ff8..13f3d7a6 100644 --- a/modules/feeds.nix +++ b/modules/feeds.nix @@ -1,8 +1,7 @@ -{ lib, sane-data, ... }: +{ lib, ... }: -with lib; let - feed = types.submodule ({ config, ... }: { + feed = with lib; types.submodule ({ config, ... }: { options = { freq = mkOption { type = types.enum [ "hourly" "daily" "weekly" "infrequent" ]; @@ -43,7 +42,7 @@ in { # we don't explicitly generate anything from the feeds here. # instead, config.sane.feeds is used by a variety of services at their definition site. - options = { + options = with lib; { sane.feeds = mkOption { type = types.listOf feed; default = [];