rotehaare flix + updatedns bugfix

This commit is contained in:
2024-08-29 17:57:49 -06:00
parent 7cc3c43da9
commit b857d39307
3 changed files with 8 additions and 4 deletions

View File

@@ -29,10 +29,12 @@
update-dns = pkgs.writeScriptBin "update-dns"
(builtins.readFile ../../scripts/update-dns.sh);
in pkgs.writeScriptBin "update-dns" ''
set -a &&
source ${config.sops.secrets.dns.path} &&
set -a &&
${update-dns}/bin/update-dns;
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bash curl
set -a
source ${config.sops.secrets.dns.path}
set -a
${update-dns}/bin/update-dns
'';
};
};