fix: initrd network config
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
3dcd186132
commit
f5659c14d8
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue