From 2a7bdca90c3301b884a4f0452f48a07fbb4f19d7 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 30 Jun 2026 21:09:31 -0500 Subject: Configurable wireguard module and separate ips for desktop and laptop --- hosts/desktop/configuration.nix | 2 ++ hosts/laptop/configuration.nix | 2 ++ 2 files changed, 4 insertions(+) (limited to 'hosts') diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 5477d04..608af3e 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -24,6 +24,8 @@ boot.loader.efi.canTouchEfiVariables = false; boot.loader.efi.efiSysMountPoint = "/boot/efi"; + custom.wireguardAddress = "10.67.40.4/32"; + networking.hostName = "desktop"; networking.wireless.iwd.enable = true; networking.networkmanager.wifi.backend = "iwd"; diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index d37e424..51a175b 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -58,6 +58,8 @@ }; }; + custom.wireguardAddress = "10.67.40.2/32"; + home-manager.users.christian.custom.xmobarBattery = true; swapDevices = [ -- cgit v1.2.3