From 1de0a0a55e692c23a666d3bea6b5c354dd0a98f9 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 9 Apr 2022 19:46:22 +0200 Subject: [PATCH] boreal: don't auto enable dhcp on interfaces Same as commit 40c5551d9b922cb65626469a449e1e90b5606d51 Reason is it creates a 90 seconds timeout when shutting down the machine if the interface isn't connected anymore. --- hosts/boreal/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hosts/boreal/default.nix b/hosts/boreal/default.nix index be11d05..61dad07 100644 --- a/hosts/boreal/default.nix +++ b/hosts/boreal/default.nix @@ -37,12 +37,6 @@ # Set your time zone. time.timeZone = "Europe/Paris"; - # The global useDHCP flag is deprecated, therefore explicitly set to false here. - # Per-interface useDHCP will be mandatory in the future, so this generated config - # replicates the default behaviour. - networking.interfaces.enp8s0.useDHCP = true; - networking.interfaces.wlp4s0.useDHCP = true; - # List services that you want to enable: my.services = { restic-backup = {