From 856d709f8a2d36af5ab8ae7c6d072d628df384a8 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 25 Sep 2026 18:32:01 -0500 Subject: add flex-wg-router net as second ip to office precision and label eth0. autostart=false for wg. add fontconfig --- hosts/office-precision/configuration.nix | 20 ++++++++++++++++++++ hosts/office-precision/wg.nix | 1 + 2 files changed, 21 insertions(+) (limited to 'hosts') diff --git a/hosts/office-precision/configuration.nix b/hosts/office-precision/configuration.nix index 3c70d91..31ba38e 100644 --- a/hosts/office-precision/configuration.nix +++ b/hosts/office-precision/configuration.nix @@ -38,6 +38,22 @@ }; }; + # Add second ip address for flex-wg-router + networking = { + _interfaceLabels = { + enable = true; + interfaces.eth0 = "48:4d:7e:f8:96:47"; + }; + interfaces.eth0 = { + useDHCP = true; + + ipv4.addresses = [{ + address = "10.1.1.3"; + prefixLength = 24; + }]; + }; + }; + # Enable user timmy _users.timmy = { enable = true; @@ -96,6 +112,10 @@ gtk.gtk3.bookmarks = [ "file:///media/chexx/chexx cHEXx" ]; + fonts.fontconfig = { + subpixelRendering = "rgb"; + hinting = "none"; + }; home.stateVersion = "26.05"; }; diff --git a/hosts/office-precision/wg.nix b/hosts/office-precision/wg.nix index 763496e..97a5239 100644 --- a/hosts/office-precision/wg.nix +++ b/hosts/office-precision/wg.nix @@ -3,5 +3,6 @@ networking.wg-quick.interfaces = { wg1.configFile = config.sops.secrets.wg1.path; + wg1.autostart = false; }; } -- cgit v1.3.1