1 { config, lib, pkgs, ... }:
2 # TODO: make ecryptfs work in initramfs?
7 config = mkIf (config.boot.supportedFilesystems.ecryptfs or false) {
8 system.fsPackages = [ pkgs.ecryptfs ];
10 "mount.ecryptfs_private" =
14 source = "${pkgs.ecryptfs.out}/bin/mount.ecryptfs_private";
16 "umount.ecryptfs_private" =
20 source = "${pkgs.ecryptfs.out}/bin/umount.ecryptfs_private";