1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

newsboat: add package option

This commit is contained in:
Benno Bielmeier 2024-08-07 12:25:40 +02:00
parent b3d5ea65d8
commit 645d47188c

View file

@ -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.