systemd.automounts.*.requiredBy

NixOS option

Units that require (i.e. depend on and need to go down with) this unit. As discussed in the wantedBy option description this also creates .requires symlinks automatically.

type: list of string matching the pattern [a-zA-Z0-9@%:_.\\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)
Default
[ ]
declared in: nixos/modules/system/boot/systemd.nixView source on NixOS/nixpkgs →