Specify transfers as a set of the names of the transfer files as the key and the configuration as its value. The configuration can use all upstream options. See https://www.freedesktop.org/software/systemd/man/sysupdate.d.html for all available options.
Declarations
Type
attribute set of attribute set of section of an INI file (attrs of INI atom (null, bool, int, float or string) or a non-empty list of them)
Default
{ }
Example
{
"10-uki" = {
Source = {
MatchPattern = [
"nixos_@v+@[email protected]"
"nixos_@[email protected]"
"[email protected]"
];
Path = "https://download.example.com/";
Type = "url-file";
};
Target = {
InstancesMax = 2;
MatchPattern = ''
nixos_@v+@[email protected]"; \
nixos_@[email protected] \
[email protected]
'';
Mode = "0444";
Path = "/EFI/Linux";
PathRelativeTo = "boot";
TriesDone = 0;
TriesLeft = 3;
Type = "regular-file";
};
Transfer = {
ProtectVersion = "%A";
};
};
}