diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-09-13 16:43:10 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-09-13 16:43:10 +0530 |
| commit | 57c592ac541c8837981a3dc0c2a12b3ba8a4fbe7 (patch) | |
| tree | 22040f2b1aaa94194dedb408703ac36aaafb8b0e /modules/newsboat.home/default.nix | |
| parent | ce028570c53c8c45661d9fe0168920db05737c39 (diff) | |
| download | nixos-config-57c592ac541c8837981a3dc0c2a12b3ba8a4fbe7.tar.gz nixos-config-57c592ac541c8837981a3dc0c2a12b3ba8a4fbe7.zip | |
Add jackett module
Diffstat (limited to '')
| -rw-r--r-- | modules/newsboat.home/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/newsboat.home/default.nix b/modules/newsboat.home/default.nix index 9e088c8..823d5c3 100644 --- a/modules/newsboat.home/default.nix +++ b/modules/newsboat.home/default.nix @@ -1,9 +1,9 @@ -{ lib, pkgs, ... }: +{ lib, pkgs, ... }@opts: let cfg = import ./config.nix; - urls = mergeFeeds [ (import ./public-feed.nix) privateFeed ]; + urls = mergeFeeds [ (import ./public-feed.nix opts) privateFeed ]; privateFeed = let feedpath = ./private-feed.nix; - in if builtins.pathExists feedpath then import feedpath else {}; + in if builtins.pathExists feedpath then import feedpath opts else {}; mergeFeeds = feeds: lib.attrsets.foldAttrs (value: acc: if lib.isList value |
