diff options
author | Alan Pearce | 2024-05-23 13:22:50 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-23 13:22:50 +0200 |
commit | 052fce5bf2b1995fe45b88626e5342e61933d7cd (patch) | |
tree | e3c9b49250acee26c6aee1d43501c1cdddb83fc6 /defaults.toml | |
parent | 0dbfe37fbddb95c184d845c79bbe014597d55fe8 (diff) | |
download | searchix-052fce5bf2b1995fe45b88626e5342e61933d7cd.tar.lz searchix-052fce5bf2b1995fe45b88626e5342e61933d7cd.tar.zst searchix-052fce5bf2b1995fe45b88626e5342e61933d7cd.zip |
refactor: use a single value for per-source import timeouts
Diffstat (limited to 'defaults.toml')
-rw-r--r-- | defaults.toml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/defaults.toml b/defaults.toml index c651508..3822d02 100644 --- a/defaults.toml +++ b/defaults.toml @@ -83,10 +83,8 @@ URL = 'https://github.com/LnL7/nix-darwin/archive/master.tar.gz' Attribute = 'options' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'release.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/darwin' @@ -116,10 +114,8 @@ URL = 'https://github.com/nix-community/home-manager/archive/master.tar.gz' Attribute = 'docs.json' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'default.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/home-manager' @@ -149,10 +145,8 @@ URL = 'https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz' Attribute = 'options' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = 'nixos/release.nix' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'share/doc/nixos' @@ -182,10 +176,8 @@ URL = '' Attribute = '' # (Fetcher=channel) Sub-path of imported channel which contains the attribute above, e.g. release.nix ImportPath = '' -# Abort fetch if it takes longer than this. -FetchTimeout = '5m0s' # Abort import if it takes longer than this. -ImportTimeout = '15m0s' +Timeout = '5m0s' # (Fetcher=channel) Path under ./result symlink to folder containing {options,packages}.json. OutputPath = 'packages.json.br' |