summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2021-01-16 20:53:40 +0100
committerAlan Pearce2021-01-16 20:56:54 +0100
commitd48fe99a36fc5eae24949a451aa4534c1d883eea (patch)
tree5c6f5c39dd41a6c1b9710034dd1bd8a61fc2d083
parent99fdc45339535264a5d17d17df6c54035450afb0 (diff)
downloadnixfiles-d48fe99a36fc5eae24949a451aa4534c1d883eea.tar.lz
nixfiles-d48fe99a36fc5eae24949a451aa4534c1d883eea.tar.zst
nixfiles-d48fe99a36fc5eae24949a451aa4534c1d883eea.zip
Disable default DHCP when connman is used
-rw-r--r--system/prefect.nix1
-rw-r--r--system/settings/hardware/connman.nix1
2 files changed, 1 insertions, 1 deletions
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