From 7f26288284429e2f186d7dc61de716dbd36ef8c4 Mon Sep 17 00:00:00 2001 From: ene Date: Mon, 20 Feb 2023 01:01:13 +0100 Subject: Feat(flake): Reorder hosts --- hosts/apzu/networking.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 hosts/apzu/networking.nix (limited to 'hosts/apzu/networking.nix') diff --git a/hosts/apzu/networking.nix b/hosts/apzu/networking.nix new file mode 100644 index 00000000..d50b3af1 --- /dev/null +++ b/hosts/apzu/networking.nix @@ -0,0 +1,14 @@ +{ + config, + lib, + ... +}: { + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; + networking.hostName = "Tiamat"; +} -- cgit 1.4.1