From 645d47188cf2359df4638fbae4175492795825f0 Mon Sep 17 00:00:00 2001 From: Benno Bielmeier Date: Wed, 7 Aug 2024 12:25:40 +0200 Subject: [PATCH] newsboat: add package option --- modules/programs/newsboat.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/programs/newsboat.nix b/modules/programs/newsboat.nix index d2782bf2d..74283f88f 100644 --- a/modules/programs/newsboat.nix +++ b/modules/programs/newsboat.nix @@ -39,6 +39,8 @@ in { programs.newsboat = { enable = mkEnableOption "the Newsboat feed reader"; + package = mkPackageOption pkgs "newsboat" { }; + urls = mkOption { type = types.listOf (types.submodule { options = { @@ -132,7 +134,7 @@ in { ''; }]; - home.packages = [ pkgs.newsboat ]; + home.packages = [ cfg.package ]; # Use ~/.newsboat on stateVersion < 21.05 and use ~/.config/newsboat for # stateVersion >= 21.05.