Gitiles
Code Review
Sign In
git.clicks.codes
/
Infra
/
NixFiles
/
097b7e446aa81b4160d3df2278e182a1c25e5d2f
/
.
/
modules
/
drivePaths.nix
blob: addd64b86b1501e7f0e309362b80faa9814c4d92 [
file
] [
log
] [
blame
]
TheCodedProf
bdc2345
2023-06-14 13:39:10 -0400
[
diff
] [
blame
]
1
{
drive_paths
,
lib
,
...
}:
{
2
fileSystems
=
lib
.
mapAttrs
'
3
(name: value: {
4
name = value.path;
5
value.device = "/dev/disk/by-uuid/${value.uuid}";
6
})
7
drive_paths;
8
}