ADD crypt dir for work laptop
This commit is contained in:
parent
664dc665ba
commit
f6606faf36
|
@ -40,19 +40,13 @@ let vcryptTree =
|
|||
\(v : Text) ->
|
||||
\(k : Text) ->
|
||||
{ tcParent =
|
||||
{ deviceMount = { mpPath = m, mpLabel = l } : C.MountConfig
|
||||
{ deviceMount = { mpPath = m, mpLabel = l }
|
||||
, deviceData =
|
||||
C.DataConfig.VeracryptConfig
|
||||
( { vcVolume = crypt v
|
||||
, vcPassword = Some (bwConfig (vcName k))
|
||||
{ vcVolume = v, vcPassword = Some (bwConfig (vcName k)) }
|
||||
}
|
||||
: C.VeracryptData
|
||||
)
|
||||
}
|
||||
: C.DeviceConfig
|
||||
, tcChildren = [] : List Text
|
||||
}
|
||||
: C.TreeConfig
|
||||
|
||||
let defaultDevs =
|
||||
[ { tKey = "ssh"
|
||||
|
@ -60,7 +54,7 @@ let defaultDevs =
|
|||
vcryptTree
|
||||
"${env:HOME as Text}/.ssh"
|
||||
(Some "ssh")
|
||||
"ssh-config"
|
||||
(crypt "ssh-config")
|
||||
sshKey
|
||||
}
|
||||
, { tKey = "gnupg"
|
||||
|
@ -68,9 +62,17 @@ let defaultDevs =
|
|||
vcryptTree
|
||||
"${env:GNUPGHOME as Text}"
|
||||
(None Text)
|
||||
"gpg-config"
|
||||
(crypt "gpg-config")
|
||||
gpgKey
|
||||
}
|
||||
, { tKey = "pii"
|
||||
, tVal =
|
||||
vcryptTree
|
||||
"pii"
|
||||
(None Text)
|
||||
"${env:HOME as Text}/Documents/.crypt"
|
||||
"work vault"
|
||||
}
|
||||
]
|
||||
|
||||
let otherDevs =
|
||||
|
|
Loading…
Reference in New Issue