summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/hotdog-host.nix
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-07 19:00:57 +0200
committerlassulus <git@lassul.us>2023-09-07 19:00:57 +0200
commit083229d0211096daec08673f743ccc45b1d8a0ac (patch)
tree9709826607eecad84a908e0a10d9da76dab7a2ee /krebs/2configs/hotdog-host.nix
parent39c4ee8f921da4ad2c2445e46a86310ecf7d9a13 (diff)
krebs: <secret -> krebs.secret.directory
Diffstat (limited to 'krebs/2configs/hotdog-host.nix')
-rw-r--r--krebs/2configs/hotdog-host.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/2configs/hotdog-host.nix b/krebs/2configs/hotdog-host.nix
index 95d70376..ab2b22b7 100644
--- a/krebs/2configs/hotdog-host.nix
+++ b/krebs/2configs/hotdog-host.nix
@@ -1,6 +1,7 @@
+{ config, ... }:
{
krebs.sync-containers3.containers.hotdog = {
- sshKey = "${toString <secrets>}/hotdog.sync.key";
+ sshKey = "${config.krebs.secret.directory}/hotdog.sync.key";
};
containers.hotdog.bindMounts."/var/lib" = {
hostPath = "/var/lib/sync-containers3/hotdog/state";