From 53f65c3cf7d8384b41e423910ea593eb0bd0bc95 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Tue, 15 Aug 2023 23:21:25 -0400 Subject: [PATCH] nixos/servnerr-4: add fio, ignore ts0 on up --- nixos/lib/system.nix | 1 + nixos/servnerr-4/networking.nix | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/nixos/lib/system.nix b/nixos/lib/system.nix index 5303dfb..d632a3a 100644 --- a/nixos/lib/system.nix +++ b/nixos/lib/system.nix @@ -45,6 +45,7 @@ in { dmidecode ethtool file + fio fwupd gcc git diff --git a/nixos/servnerr-4/networking.nix b/nixos/servnerr-4/networking.nix index 606e356..fac7599 100644 --- a/nixos/servnerr-4/networking.nix +++ b/nixos/servnerr-4/networking.nix @@ -21,6 +21,10 @@ in { package = unstable.tailscale; interfaceName = "ts0"; }; + + # Tailscale readiness and DNS tweaks. + systemd.network.wait-online.ignoredInterfaces = ["ts0"]; + systemd.services.tailscaled.after = [ "network-online.target" "systemd-resolved.service" ]; systemd.network = {