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";
|
public-key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGs8MfR3d6f1Llqk5dn/ypODUT1Oi4SQGof/YvOPNf14";
|
||||||
key-path = "/state/master-key/key";
|
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}"
|
"ip=${initrd-cfg.ip}"
|
||||||
];
|
];
|
||||||
initrd = {
|
initrd = {
|
||||||
secrets = mkForce { };
|
|
||||||
|
|
||||||
network = {
|
network = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
@ -67,7 +65,7 @@ in {
|
|||||||
network-definition.hosts = mapAttrs'
|
network-definition.hosts = mapAttrs'
|
||||||
(hostname: hostOpts: nameValuePair "${hostname}-recovery"
|
(hostname: hostOpts: nameValuePair "${hostname}-recovery"
|
||||||
{
|
{
|
||||||
ipv4-address = hostOpts.initrd-network-config.ip;
|
ipv4-address = hostOpts.initrd-network.ip;
|
||||||
description = "${hostname} initrd host";
|
description = "${hostname} initrd host";
|
||||||
})
|
})
|
||||||
initrd-network-hosts;
|
initrd-network-hosts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user