Files
sp-config/volumes.nix

16 lines
283 B
Nix
Raw Permalink Normal View History

{ config, ... }:
let
cfg = config.selfprivacy;
in
{
2025-06-18 19:53:44 +03:00
fileSystems = builtins.listToAttrs (
builtins.map (volume: {
name = "${volume.mountPoint}";
value = {
device = "${volume.device}";
fsType = "${volume.fsType}";
};
2025-06-18 19:53:44 +03:00
}) cfg.volumes
);
}