mediabox/initrd: remove sops ssh key
This commit is contained in:
@@ -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)];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user