mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Fix evaluation due to usage of optinal secrets in blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
4f32bfe165
commit
b78b4ce5be
|
@ -21,7 +21,7 @@ in
|
|||
};
|
||||
|
||||
modules = singleton
|
||||
({ pkgs, config, ... }:
|
||||
({ secret, pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./bind.nix
|
||||
|
@ -119,7 +119,7 @@ in
|
|||
};
|
||||
script = ''
|
||||
mkdir -p /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript
|
||||
rsync --chown 403:403 --chmod Du=rwx,Dgo=rx,Fu=rw,Fgo=r -arvc --delete ${secret.pyscript}/. /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript/
|
||||
rsync --chown 403:403 --chmod Du=rwx,Dgo=rx,Fu=rw,Fgo=r -arvc --delete ${secret.pyscript or ""}/. /mnt/kyle/infrastructure/home-assistant/home-assistant/pyscript/
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue