diff options
author | Robin Gloster <mail@glob.in> | 2019-09-23 16:37:58 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2019-09-24 10:20:16 +0200 |
commit | c26c6241eae93985c33590401fda971d7574c136 (patch) | |
tree | 1f8817c8c1420940050eb0cff117ff6595eb985c /nixos/tests/systemd-networkd-wireguard.nix | |
parent | 5426932f7c664a8765d6904af20ef21310e95d4f (diff) | |
download | nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar.gz nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar.bz2 nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar.lz nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar.xz nixpkgs-c26c6241eae93985c33590401fda971d7574c136.tar.zst nixpkgs-c26c6241eae93985c33590401fda971d7574c136.zip |
networking.useDHCP: disallow for networkd
This setting will be removed with the switch to systemd-networkd. The use of per interface config is encouraged instead.
Diffstat (limited to 'nixos/tests/systemd-networkd-wireguard.nix')
-rw-r--r-- | nixos/tests/systemd-networkd-wireguard.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/systemd-networkd-wireguard.nix b/nixos/tests/systemd-networkd-wireguard.nix index f1ce1e791ce..aa0ac54e796 100644 --- a/nixos/tests/systemd-networkd-wireguard.nix +++ b/nixos/tests/systemd-networkd-wireguard.nix @@ -2,6 +2,7 @@ let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ... imports = [ common/user-account.nix ]; systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug"; networking.useNetworkd = true; + networking.useDHCP = false; networking.firewall.enable = false; virtualisation.vlans = [ 1 ]; environment.systemPackages = with pkgs; [ wireguard-tools ]; |