diff --git a/role/dropbear/default.nix b/role/dropbear/default.nix index 75e9845..3699674 100644 --- a/role/dropbear/default.nix +++ b/role/dropbear/default.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { - # Note: This implementation currently only allows eth0 (first interface) with dhcp. + # Note: This implementation currently only allows eno1 (first interface) with dhcp. boot.initrd.network = { enable = true; ssh = { @@ -19,10 +19,10 @@ ''; }; boot.kernelParams = [ - "ip=10.1.2.2::10.1.2.1:255.255.255.0:montalin:eth0:none" + "ip=10.1.2.2::10.1.2.1:255.255.255.0:montalin:eno1:none" ]; # see https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt boot.initrd.postMountCommands = '' - ip link set eth0 down + ip link set eno1 down ''; }