freon is in use

This commit is contained in:
Peder Bergebakken Sundt 2024-02-10 21:32:14 +01:00
parent 216484a80c
commit 74af419792
2 changed files with 9 additions and 6 deletions

View File

@ -14,9 +14,12 @@
# TODO: combine nameValuePair and listToAttrs # TODO: combine nameValuePair and listToAttrs
joinSets = sets: builtins.foldl' (l: r: l // r) {} sets; joinSets = sets: builtins.foldl' (l: r: l // r) {} sets;
in joinSets ( in joinSets (
(map (mkMount "/mnt/freon" "192.168.1.3:/Freon/") [ # TODO: space in dirname is not supported
(map (mkMount "/mnt/freon" "192.168.1.3:/Freon") [
"" ""
#"/something" "/Backups"
"/ISO"
#"/Games"
]) ])
); );

View File

@ -14,16 +14,17 @@
# TODO: combine nameValuePair and listToAttrs # TODO: combine nameValuePair and listToAttrs
joinSets = sets: builtins.foldl' (l: r: l // r) {} sets; joinSets = sets: builtins.foldl' (l: r: l // r) {} sets;
in joinSets ( in joinSets (
# TODO: space in dirname is not supported
(map (mkMount "/mnt/reidun" "192.168.1.3:/Reidun/shared") [ (map (mkMount "/mnt/reidun" "192.168.1.3:/Reidun/shared") [
"" ""
"/Backups" #"/Backups"
"/Comics" "/Comics"
"/Downloads" "/Downloads"
"/Games" "/Games"
"/Games/Installable" "/Games/Installable"
"/Games/Portable" "/Games/Portable"
"/Games/ROMs" "/Games/ROMs"
"/ISO" #"/ISO"
"/Images" "/Images"
"/Images/Collections" "/Images/Collections"
"/Images/Memes" "/Images/Memes"
@ -47,10 +48,9 @@
"/Video/Movies" "/Video/Movies"
"/Video/Musicvideos" "/Video/Musicvideos"
"/Video/Series" "/Video/Series"
"/Video/Talks"
"/Work" "/Work"
"/Work/Documents" "/Work/Documents"
#"/Work/FL Studio" # broken, maybe due to the space? "/Work/FL-Studio"
"/Work/Programming" "/Work/Programming"
"/Work/School" "/Work/School"
"/pub" "/pub"