This shit is so weird

This commit is contained in:
2021-10-15 15:17:45 -07:00
parent a0fd17c9ca
commit 3bf763c124
2 changed files with 8 additions and 4 deletions
+1 -3
View File
@@ -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;