summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-06-06 17:12:15 +0200
committerAlan Pearce2024-06-06 17:12:51 +0200
commit6ba2f2f95aead3c6fd173e49329a1fafebcdd46c (patch)
tree7c3c3bebed05443e4d211acaf90babfd712da130
parentb8da6104d9a6004cf0735f9658d5c18098b1dc6b (diff)
downloadnixfiles-6ba2f2f95aead3c6fd173e49329a1fafebcdd46c.tar.lz
nixfiles-6ba2f2f95aead3c6fd173e49329a1fafebcdd46c.tar.zst
nixfiles-6ba2f2f95aead3c6fd173e49329a1fafebcdd46c.zip
prefect: fix DHCP config not applying to interface
-rw-r--r--system/prefect.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 8d90948d..86811ce5 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -104,6 +104,9 @@
 
   systemd.network = {
     networks."40-enp7s0" = {
+      matchConfig = {
+        Name = "enp7s0";
+      };
       dhcpV4Config = {
         UseDomains = true;
       };