From 46f5b502625402b130a23b3f25d6c4395c154806 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 3 Oct 2025 18:24:28 +0200 Subject: Rename Russian VPN server "zibeline" into "truite" I think when all our VPN server names start with a "T", it looks pretty nice! If you didn't notice: The "T" stands for "Tunnel"! :) Signed-off-by: Mel --- machines/truite/devices.nix | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 machines/truite/devices.nix (limited to 'machines/truite/devices.nix') diff --git a/machines/truite/devices.nix b/machines/truite/devices.nix new file mode 100644 index 0000000..dce5ff2 --- /dev/null +++ b/machines/truite/devices.nix @@ -0,0 +1,39 @@ +{ config, lib, pkgs, ... }: + +{ + boot = { + loader.grub = { + enable = true; + device = "/dev/sda"; + }; + + kernelModules = [ "wireguard" ]; + + swraid.enable = true; + }; + + zramSwap = { + enable = true; + algorithm = "zstd"; + swapDevices = 1; + memoryPercent = 100; + }; + + networking = { + nameservers = [ + "9.9.9.9" + "149.112.112.112" + ]; + + useDHCP = false; + }; + + systemd.network.enable = true; + systemd.network.networks."10-wan" = { + name = "eth0"; + DHCP = "no"; + address = [ "194.169.163.56/24" ]; + gateway = [ "194.169.163.1" ]; + }; +} + -- cgit 1.4.1