Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
2b9b1fed5b4b4d63afb5dd4adf47c204cf0019a3
/
.
/
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;
}