feedr: fix enable option description

Also minor stylistic fixes.
This commit is contained in:
Robert Helgesson
2026-04-12 17:48:38 +02:00
committed by Austin Horstman
parent 30ca31c87a
commit 7832a664c4
3 changed files with 7 additions and 4 deletions

View File

@@ -12,12 +12,12 @@ in
meta.maintainers = with lib.maintainers; [ drupol ];
options.programs.feedr = {
enable = lib.mkEnableOption "A feature-rich terminal-based RSS/Atom feed reader written in Rust.";
enable = lib.mkEnableOption "Feedr, a feature-rich terminal-based RSS/Atom feed reader written in Rust";
package = lib.mkPackageOption pkgs "feedr" { nullable = true; };
settings = lib.mkOption {
type = tomlFormat.type;
inherit (tomlFormat) type;
default = { };
example = lib.literalExpression ''
{

View File

@@ -1,4 +1,3 @@
{ ... }:
{
programs.feedr = {
enable = true;
@@ -9,5 +8,10 @@
nmt.script = ''
assertFileExists "home-files/.config/feedr/config.toml"
assertFileContent "home-files/.config/feedr/config.toml" \
${builtins.toFile "feedr-expected.toml" ''
[network]
http_timeout = 15
''}
'';
}

View File

@@ -1,4 +1,3 @@
{ ... }:
{
programs.feedr.enable = false;