Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
6f9047dd82732299e68ea68425a99165e91890b0
/
.
/
modules
/
common
/
drivePaths.nix
blob: 2f99b4dbaece7a00bc52241426673534cdd20202 [
file
] [
log
] [
blame
]
{
drive_paths
,
lib
,
...
}:
if
drive_paths
==
null
then
{}
else
{
fileSystems
=
lib
.
mapAttrs
' (name: value: {
name = value.path;
value.device = "/dev/disk/by-uuid/${value.uuid}";
}) drive_paths;
}