From d48fe99a36fc5eae24949a451aa4534c1d883eea Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Jan 2021 20:53:40 +0100 Subject: Disable default DHCP when connman is used --- system/prefect.nix | 1 - system/settings/hardware/connman.nix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/prefect.nix b/system/prefect.nix index 9ac8bd7b..c38a3fab 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -70,7 +70,6 @@ host all all samenet md5 ''; }; - networking.useDHCP = false; networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ]; networking.firewall.extraCommands = '' diff --git a/system/settings/hardware/connman.nix b/system/settings/hardware/connman.nix index 779f8b7a..383be9e5 100644 --- a/system/settings/hardware/connman.nix +++ b/system/settings/hardware/connman.nix @@ -4,6 +4,7 @@ enable = true; enableVPN = false; }; + networking.useDHCP = false; environment.systemPackages = with pkgs; [ connman-gtk -- cgit 1.4.1