summaryrefslogtreecommitdiffstats
path: root/hosts/office-precision
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-09-25 18:32:01 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-09-25 18:32:01 -0500
commit856d709f8a2d36af5ab8ae7c6d072d628df384a8 (patch)
tree10d1d037c253c272bb3c8c3115870500b183f72c /hosts/office-precision
parent61965bcf03c9d9f135151ca67ab7eaf71a4851a7 (diff)
downloadnixos-856d709f8a2d36af5ab8ae7c6d072d628df384a8.tar.xz
nixos-856d709f8a2d36af5ab8ae7c6d072d628df384a8.zip
add flex-wg-router net as second ip to office precision and label eth0. autostart=false for wg. add fontconfig
Diffstat (limited to 'hosts/office-precision')
-rw-r--r--hosts/office-precision/configuration.nix20
-rw-r--r--hosts/office-precision/wg.nix1
2 files changed, 21 insertions, 0 deletions
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;
};
}