From 5a5fad7c82260f29e829ca9173eed8db66d73cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Mon, 13 Jul 2020 21:43:55 +0100 Subject: [PATCH] Set usePredictableinterfacenames We do this to allow eth0 to be set up for dhcp automagically. Linode recommends this, and it makes our configuration simpler. --- etc/nixos/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/nixos/configuration.nix b/etc/nixos/configuration.nix index 7bbd048..9feed08 100644 --- a/etc/nixos/configuration.nix +++ b/etc/nixos/configuration.nix @@ -20,6 +20,7 @@ networking = { hostName = "tlaternet"; + usePredictableInterfaceNames = false; # useDHCP is deprecated useDHCP = false; interfaces.eth0.useDHCP = true;