mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-22 01:30:48 +03:00
fmt
This commit is contained in:
parent
019784cb7e
commit
b818ac2e7d
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue