summaryrefslogtreecommitdiffstats
path: root/krebs/2configs/tor/initrd.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/tor/initrd.nix
parent39c4ee8f921da4ad2c2445e46a86310ecf7d9a13 (diff)
krebs: <secret -> krebs.secret.directory
Diffstat (limited to 'krebs/2configs/tor/initrd.nix')
-rw-r--r--krebs/2configs/tor/initrd.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/2configs/tor/initrd.nix b/krebs/2configs/tor/initrd.nix
index 98ed039b4..21c46a0a7 100644
--- a/krebs/2configs/tor/initrd.nix
+++ b/krebs/2configs/tor/initrd.nix
@@ -13,12 +13,12 @@
config.krebs.users.makefu.pubkey
config.krebs.users.tv.pubkey
];
- hostKeys = [ <secrets/initrd/openssh_host_ecdsa_key> ];
+ hostKeys = [ "${config.krebs.secret.directory}/initrd/openssh_host_ecdsa_key" ];
};
boot.initrd.availableKernelModules = [ "e1000e" ];
boot.initrd.secrets = {
- "/etc/tor/onion/bootup" = <secrets/initrd>;
+ "/etc/tor/onion/bootup" = "${config.krebs.secret.directory}/initrd";
};
boot.initrd.extraUtilsCommands = ''