mediabox/initrd: remove sops ssh key

This commit is contained in:
2024-04-21 16:16:37 +02:00
parent 511aee2794
commit 7cb3e2aae4
2 changed files with 1 additions and 35 deletions

View File

@@ -30,10 +30,6 @@
sopsFile = ../common/secrets/wg_preshared.yaml;
};
sops.secrets."dummy_ssh_key" = {
sopsFile = ./secrets/dummy_ssh_key.yaml;
};
nix = {
optimise.automatic = true;
gc.automatic = true;
@@ -53,7 +49,7 @@
udhcpc.enable = true;
ssh = {
enable = true;
hostKeys = [config.sops.secrets."dummy_ssh_key".path];
hostKeys = [/etc/ssh_dummy_ed25519_key];
authorizedKeys = [(builtins.readFile ../nixy/ssh_pubkey)];
};
};