1 { config, lib, pkgs, ... }:
4 cfg = config.programs.ecryptfs;
7 options.programs.ecryptfs = {
8 enable = lib.mkEnableOption "ecryptfs setuid mount wrappers";
11 config = lib.mkIf cfg.enable {
14 "mount.ecryptfs_private" = {
18 source = "${lib.getBin pkgs.ecryptfs}/bin/mount.ecryptfs_private";
20 "umount.ecryptfs_private" = {
24 source = "${lib.getBin pkgs.ecryptfs}/bin/umount.ecryptfs_private";