about summary refs log tree commit diff
path: root/machines/aszlig/dnyarri.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-10-08 22:34:06 +0200
committeraszlig <aszlig@nix.build>2019-10-08 22:34:06 +0200
commit77ecf74d6e63ac3fbd85c4e203e12d07bb23fbeb (patch)
tree60738ecf7bf9c2066cf5fb544ccbe1b9a865646f /machines/aszlig/dnyarri.nix
parentf0a0318b99232c25f9ef782c53db724f66127135 (diff)
machines/aszlig: Explicitly set useDHCP
The usage of DHCP is no longer global since a while[1] and we now have
to explicitly enable it for the interfaces in question.

This actually is a good thing and makes it far less problematic if we
use tunnel interfaces and other more complicated networking
configuration.

I added the definitions for all machines where I actually know which
interfaces are in use and disabled useNetworkd for shakti, because I
don't know the interface names for that machine and the machine
currently isn't in use anyway, so we can add it later if needed.

[1]: https://github.com/NixOS/nixpkgs/pull/69302

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig/dnyarri.nix')
-rw-r--r--machines/aszlig/dnyarri.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix
index 482395ee..be7ecaba 100644
--- a/machines/aszlig/dnyarri.nix
+++ b/machines/aszlig/dnyarri.nix
@@ -76,6 +76,7 @@ in {
   hardware.enableRedistributableFirmware = true;
 
   networking.hostName = "dnyarri";
+  networking.interfaces.eno0.useDHCP = true;
 
   fileSystems = {
     "/boot" = {