TheCodedProf | bdc2345 | 2023-06-14 13:39:10 -0400 | [diff] [blame] | 1 | { drive_paths, lib, ... }: { |
Skyler Grey | fe1740c | 2023-10-21 01:24:18 +0000 | [diff] [blame^] | 2 | fileSystems = lib.mapAttrs' (name: value: { |
3 | name = value.path; | ||||
4 | value.device = "/dev/disk/by-uuid/${value.uuid}"; | ||||
5 | }) drive_paths; | ||||
TheCodedProf | bdc2345 | 2023-06-14 13:39:10 -0400 | [diff] [blame] | 6 | } |