diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-01-08 22:44:51 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-01-08 22:44:51 +0530 |
commit | 00cf70110af4661b20e19b1cd42eabc224abc573 (patch) | |
tree | b89b59ecd342b8185cd028168affc5ebec3ac9ad | |
parent | 9be7885aa63c865bb57b36f65884e5d336a09abc (diff) |
common: disable dhcpcd
-rw-r--r-- | common.nix | 1 | ||||
-rw-r--r-- | hosts/cez/modules/network.nix | 1 | ||||
-rw-r--r-- | hosts/kay/modules/router.nix | 1 | ||||
-rw-r--r-- | hosts/mox/modules/network.nix | 1 |
4 files changed, 1 insertions, 3 deletions
@@ -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; |