This commit is contained in:
Nathan Henrie 2023-01-30 09:18:56 -07:00
parent 019784cb7e
commit b818ac2e7d

View file

@ -20,7 +20,8 @@ with lib; let
users = config.users.users;
mountCommand =
if isDarwin then ''
if isDarwin
then ''
if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then
dev=$(hdiutil attach -nomount ram://1MiB)
newfs_hfs -v agenix "$dev"