From d27e8def02bdbd98218653bb1ca80a253c71d5d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ha=CC=88cker?= Date: Sat, 13 Dec 2025 19:12:38 +0100 Subject: [PATCH] nixos/filesystem: fix doc by-id -> by-label Documentation was wrong, implementation already correct. --- nixos/modules/tasks/filesystems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. '';