modules/feeds: remove unused parameter
This commit is contained in:
parent
fe19065a6a
commit
758281f772
|
@ -1,8 +1,7 @@
|
||||||
{ lib, sane-data, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
let
|
let
|
||||||
feed = types.submodule ({ config, ... }: {
|
feed = with lib; types.submodule ({ config, ... }: {
|
||||||
options = {
|
options = {
|
||||||
freq = mkOption {
|
freq = mkOption {
|
||||||
type = types.enum [ "hourly" "daily" "weekly" "infrequent" ];
|
type = types.enum [ "hourly" "daily" "weekly" "infrequent" ];
|
||||||
|
@ -43,7 +42,7 @@ in
|
||||||
{
|
{
|
||||||
# we don't explicitly generate anything from the feeds here.
|
# 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.
|
# instead, config.sane.feeds is used by a variety of services at their definition site.
|
||||||
options = {
|
options = with lib; {
|
||||||
sane.feeds = mkOption {
|
sane.feeds = mkOption {
|
||||||
type = types.listOf feed;
|
type = types.listOf feed;
|
||||||
default = [];
|
default = [];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user