Skip to content

Commit

Permalink
restartOnFailure: fix typo. (#129)
Browse files Browse the repository at this point in the history
Fixes a typo in options, and a missing semi-colon
after the block closing bracket.
  • Loading branch information
gmodena authored Dec 29, 2024
1 parent 885f129 commit c31b6cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,12 @@ in

restartOnFailure = mkOption {
type = with types; submodule restartOptions;
default = { enable = true; restartDelay = "60s"; exponentialBackoff = { enable = false; steps=10; maxDelat = "1h"; }; };
default = { enable = true; restartDelay = "60s"; exponentialBackoff = { enable = false; steps=10; maxDelay = "1h"; }; };
description = ''
If enabled, restart the flatpak-managed-install service in case of failure.
It is possible to specify a restart delay and an exponential backoff strategy.
'';
};

uninstallUnused = mkOption {
type = with types; bool;
Expand Down

0 comments on commit c31b6cb

Please sign in to comment.