mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
hosts/plover: fix Bind9 pre-start script
This commit is contained in:
parent
e00d4f86c1
commit
9c2e3ee1bf
@ -190,13 +190,13 @@ in
|
||||
secretPath = path: config.sops.secrets."dns/${path}".path;
|
||||
in
|
||||
lib.mkAfter ''
|
||||
{
|
||||
[ -f '${domainZone'}' ] || {
|
||||
install -Dm0600 '${domainZone}' '${domainZone'}'
|
||||
replace-secret #mailboxSecurityKey# '${secretPath "${domain}/mailbox-security-key"}' '${domainZone'}'
|
||||
replace-secret #mailboxSecurityKeyRecord# '${secretPath "${domain}/mailbox-security-key-record"}' '${domainZone'}'
|
||||
replace-secret '#mailboxSecurityKey#' '${secretPath "${domain}/mailbox-security-key"}' '${domainZone'}'
|
||||
replace-secret '#mailboxSecurityKeyRecord#' '${secretPath "${domain}/mailbox-security-key-record"}' '${domainZone'}'
|
||||
}
|
||||
|
||||
{
|
||||
[ -f '${fqdnZone'}' ] || {
|
||||
install -Dm0600 '${fqdnZone}' '${fqdnZone'}'
|
||||
}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user