2023-11-10 07:10:06 +04:00
|
|
|
{ config, ... }:
|
2022-08-26 14:21:05 +04:00
|
|
|
let
|
2023-11-16 04:00:11 +04:00
|
|
|
cfg = config.selfprivacy;
|
2022-08-26 14:21:05 +04:00
|
|
|
in
|
|
|
|
{
|
2025-06-18 19:53:44 +03:00
|
|
|
fileSystems = builtins.listToAttrs (
|
|
|
|
builtins.map (volume: {
|
2022-08-26 14:21:05 +04:00
|
|
|
name = "${volume.mountPoint}";
|
|
|
|
value = {
|
|
|
|
device = "${volume.device}";
|
|
|
|
fsType = "${volume.fsType}";
|
|
|
|
};
|
2025-06-18 19:53:44 +03:00
|
|
|
}) cfg.volumes
|
|
|
|
);
|
2022-08-26 14:21:05 +04:00
|
|
|
}
|