fix: initrd network config

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-11-04 10:39:21 +01:00
parent 3dcd186132
commit f5659c14d8
Signed by: lander
GPG key ID: 0142722B4B0C536F

View file

@ -40,15 +40,12 @@
systemd.network.networks."10-uplink".networkConfig.Address = config.networking.hyp-01.ipv6.address;
boot.initrd.systemd.network.enable = true;
boot.initrd.systemd.network.networks."10-uplink" = config.systemd.networks."10-uplink";
boot.initrd.network = {
enable = true;
arguments = with config.networking.hyp-01; [
"ip=${ipv4.address}::${ipv4.gateway}:255.255.255.192::eth0:off"
];
ssh = {
enable = true;
port = 2222;