Skip to content

Commit

Permalink
Silence output
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Jan 30, 2023
1 parent 351e874 commit 4532604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/age.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ with lib; let
mountCommand =
if isDarwin
then ''
if ! diskutil info "${cfg.secretsMountPoint}"; then
dev="$(hdiutil attach -nomount ram://1048576 | awk '{print $1}')"
newfs_hfs "$dev"
if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then
mount -t hfs -o nobrowse,nodev,nosuid,-m=0751 "$dev" "${cfg.secretsMountPoint}"
fi
''
Expand Down

0 comments on commit 4532604

Please sign in to comment.