{ config, lib, pkgs, ... }: { module.backup.services.encfs = let mainUser = config.users.users.mainUser; in { "fotos" = { user = mainUser.name; bootDelay = 0; keyFile = toString ; encryptedFolder = "${mainUser.home}/private/.fotos.ct"; decryptedFolder = "${mainUser.home}/fotos"; }; "desktop" = { user = mainUser.name; bootDelay = 0; keyFile = toString ; encryptedFolder = "${mainUser.home}/.desktop.ct"; decryptedFolder = "${mainUser.home}/desktop"; }; "finance" = { user = mainUser.name; bootDelay = 0; keyFile = toString ; encryptedFolder = "${mainUser.home}/.finance.ct"; decryptedFolder = "${mainUser.home}/finance"; }; }; }