all repos — nixfiles @ d48fe99a36fc5eae24949a451aa4534c1d883eea

System and user configuration, managed by nix and home-manager

Disable default DHCP when connman is used
Alan Pearce alan@alanpearce.eu
Sat, 16 Jan 2021 20:53:40 +0100
commit

d48fe99a36fc5eae24949a451aa4534c1d883eea

parent

99fdc45339535264a5d17d17df6c54035450afb0

2 files changed, 1 insertions(+), 1 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -70,7 +70,6 @@ # TYPE  DATABASE        USER            ADDRESS                 METHOD       host    all             all             samenet                 md5
     '';
   };
-  networking.useDHCP = false;
   networking.firewall.allowedTCPPorts = [ config.services.postgresql.port ];
 
   networking.firewall.extraCommands = ''
M system/settings/hardware/connman.nixsystem/settings/hardware/connman.nix
@@ -4,6 +4,7 @@ { services.connman = {     enable = true;
     enableVPN = false;
   };
+  networking.useDHCP = false;
 
   environment.systemPackages = with pkgs; [
     connman-gtk