diff --git a/modules/age.nix b/modules/age.nix index 422346e..3770250 100644 --- a/modules/age.nix +++ b/modules/age.nix @@ -23,6 +23,7 @@ with lib; let if isDarwin then '' if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then dev=$(hdiutil attach -nomount ram://1MiB) + newfs_hfs -v agenix "$dev" mount -t hfs -o nobrowse,nodev,nosuid,-m=0751 "$dev" "${cfg.secretsMountPoint}" fi ''