diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix index 74b3b83f09f7..108c1b495c9e 100644 --- a/nixos/modules/tasks/filesystems.nix +++ b/nixos/modules/tasks/filesystems.nix @@ -185,7 +185,7 @@ let type = types.nullOr nonEmptyStr; description = '' Label of the device. This simply sets {option}`device` to - `/dev/disk/by-id/''${label}`. Note that devices will not + `/dev/disk/by-label/''${label}`. Note that devices will not have a label unless they contain a filesystem which supports labels, such as ext4 or fat32. '';