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:
parent
b3d5ea65d8
commit
645d47188c
1 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue