mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-06 00:43:11 +00:00
16 lines
283 B
Nix
16 lines
283 B
Nix
{ config, ... }:
|
|
let
|
|
cfg = config.selfprivacy;
|
|
in
|
|
{
|
|
fileSystems = builtins.listToAttrs (builtins.map
|
|
(volume: {
|
|
name = "${volume.mountPoint}";
|
|
value = {
|
|
device = "${volume.device}";
|
|
fsType = "${volume.fsType}";
|
|
};
|
|
})
|
|
cfg.volumes);
|
|
}
|