systemd.sysupdate.transfers
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 sysupdate.d(5) for all available options.
- 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+@l-@d.efi" "nixos_@v+@l.efi" "nixos_@v.efi" ]; Path = "https://download.example.com/"; Type = "url-file"; }; Target = { InstancesMax = 2; MatchPattern = '' nixos_@v+@l-@d.efi"; \ nixos_@v+@l.efi \ nixos_@v.efi ''; Mode = "0444"; Path = "/EFI/Linux"; PathRelativeTo = "boot"; TriesDone = 0; TriesLeft = 3; Type = "regular-file"; }; Transfer = { ProtectVersion = "%A"; }; }; }- Declared
- <nixpkgs/nixos/modules/system/boot/systemd/sysupdate.nix>