summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-10-29 14:28:34 +0100
committerAlan Pearce2020-10-29 14:31:44 +0100
commit1864f983ea071655d119fce6e0542ab76eca47ba (patch)
treea0c57eeb2f75c8e1441fedb4b65acb39a70e146c
parent19bc5543e124b2785898336acdd0fadd2d200a5c (diff)
downloadnixfiles-1864f983ea071655d119fce6e0542ab76eca47ba.tar.lz
nixfiles-1864f983ea071655d119fce6e0542ab76eca47ba.tar.zst
nixfiles-1864f983ea071655d119fce6e0542ab76eca47ba.zip
networking: specify search instead of domain
Domain will be determined by DHCP
-rw-r--r--system/prefect.nix2
-rw-r--r--system/settings/satoshipay.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index 3cbdcea2..a20c137a 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -54,7 +54,7 @@
   powerManagement.cpuFreqGovernor = "performance";
   networking = {
     hostName = "prefect";
-    domain = pkgs.lib.mkForce "alanpearce.eu";
+    search = ["alanpearce.eu"];
   };
 
   system.stateVersion = "20.03";
diff --git a/system/settings/satoshipay.nix b/system/settings/satoshipay.nix
index fb2c9cbf..952705cd 100644
--- a/system/settings/satoshipay.nix
+++ b/system/settings/satoshipay.nix
@@ -76,5 +76,5 @@
   nix.gc.dates = "12:30";
   system.autoUpgrade.dates = "13:05";
 
-  networking.domain = "satoshipay.io";
+  networking.search = ["satoshipay.io"];
 }