mirror of
https://github.com/ryantm/agenix.git
synced 2024-09-11 06:05:38 +03:00
fmt
This commit is contained in:
parent
019784cb7e
commit
b818ac2e7d
@ -20,7 +20,8 @@ with lib; let
|
|||||||
users = config.users.users;
|
users = config.users.users;
|
||||||
|
|
||||||
mountCommand =
|
mountCommand =
|
||||||
if isDarwin then ''
|
if isDarwin
|
||||||
|
then ''
|
||||||
if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then
|
if ! diskutil info "${cfg.secretsMountPoint}" &> /dev/null; then
|
||||||
dev=$(hdiutil attach -nomount ram://1MiB)
|
dev=$(hdiutil attach -nomount ram://1MiB)
|
||||||
newfs_hfs -v agenix "$dev"
|
newfs_hfs -v agenix "$dev"
|
||||||
|
Loading…
Reference in New Issue
Block a user