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