This shit is so weird
This commit is contained in:
parent
a0fd17c9ca
commit
3bf763c124
|
@ -22,5 +22,11 @@
|
|||
public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGs8MfR3d6f1Llqk5dn/ypODUT1Oi4SQGof/YvOPNf14";
|
||||
key-path = "/state/master-key/key";
|
||||
};
|
||||
# initrd-ip = "10.0.5.108";
|
||||
initrd-network = {
|
||||
ip = "10.0.5.108";
|
||||
keypair = {
|
||||
public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIABpau0W1FAOnwHysFm/9uQ0XqMrB2GoCIfin5uLBEs8";
|
||||
private-key-file = "/state/ssh/initrd/ssh_ed25519_key";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -36,8 +36,6 @@ in {
|
|||
"ip=${initrd-cfg.ip}"
|
||||
];
|
||||
initrd = {
|
||||
secrets = mkForce { };
|
||||
|
||||
network = {
|
||||
enable = true;
|
||||
|
||||
|
@ -67,7 +65,7 @@ in {
|
|||
network-definition.hosts = mapAttrs'
|
||||
(hostname: hostOpts: nameValuePair "${hostname}-recovery"
|
||||
{
|
||||
ipv4-address = hostOpts.initrd-network-config.ip;
|
||||
ipv4-address = hostOpts.initrd-network.ip;
|
||||
description = "${hostname} initrd host";
|
||||
})
|
||||
initrd-network-hosts;
|
||||
|
|
Loading…
Reference in New Issue