mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
feedr: fix enable option description
Also minor stylistic fixes.
This commit is contained in:
committed by
Austin Horstman
parent
30ca31c87a
commit
7832a664c4
@@ -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 ''
|
||||
{
|
||||
|
||||
@@ -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
|
||||
''}
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{ ... }:
|
||||
{
|
||||
programs.feedr.enable = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user