1 { config, lib, pkgs, ... }:
6 cfg = config.programs.ecryptfs;
9 options.programs.ecryptfs = {
10 enable = mkEnableOption (lib.mdDoc "ecryptfs setuid mount wrappers");
13 config = mkIf cfg.enable {
16 "mount.ecryptfs_private" = {
20 source = "${lib.getBin pkgs.ecryptfs}/bin/mount.ecryptfs_private";
22 "umount.ecryptfs_private" = {
26 source = "${lib.getBin pkgs.ecryptfs}/bin/umount.ecryptfs_private";