summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.nix1
-rw-r--r--hosts/cez/modules/network.nix1
-rw-r--r--hosts/kay/modules/router.nix1
-rw-r--r--hosts/mox/modules/network.nix1
4 files changed, 1 insertions, 3 deletions
diff --git a/common.nix b/common.nix
index b8b69cd..ff47d90 100644
--- a/common.nix
+++ b/common.nix
@@ -32,6 +32,7 @@ in
};
time.timeZone = "Asia/Kolkata";
+ networking.useDHCP = false;
environment = {
binsh = "${lib.getExe pkgs.dash}";
systemPackages = with pkgs; [
diff --git a/hosts/cez/modules/network.nix b/hosts/cez/modules/network.nix
index 3321e98..429bf89 100644
--- a/hosts/cez/modules/network.nix
+++ b/hosts/cez/modules/network.nix
@@ -3,7 +3,6 @@
{
networking = {
hostName = "cez";
- useDHCP = false;
firewall.enable = false;
wireless.iwd = {
diff --git a/hosts/kay/modules/router.nix b/hosts/kay/modules/router.nix
index 2fd2f29..d2785a5 100644
--- a/hosts/kay/modules/router.nix
+++ b/hosts/kay/modules/router.nix
@@ -21,7 +21,6 @@ in
externalInterface = wanInterface;
internalInterfaces = [ lanInterface ];
};
- useDHCP = false;
interfaces."${lanInterface}" = {
ipv4.addresses = [{
address = host;
diff --git a/hosts/mox/modules/network.nix b/hosts/mox/modules/network.nix
index bf7c690..dde2e49 100644
--- a/hosts/mox/modules/network.nix
+++ b/hosts/mox/modules/network.nix
@@ -6,7 +6,6 @@ let
in
{
networking = {
- useDHCP = false;
interfaces.${wan}.ipv4.addresses = [{
address = "10.0.8.101";
prefixLength = 16;