From 6fa28acff8b29658438ad9ce18590705fdc73681 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 3 Feb 2021 18:46:20 +0100 Subject: [PATCH] Move porter to another location --- hosts/carbon/configuration.nix | 2 +- hosts/porter/configuration.nix | 8 ++++---- hosts/porter/hardware-configuration.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/carbon/configuration.nix b/hosts/carbon/configuration.nix index fd13f2e..692c8f6 100644 --- a/hosts/carbon/configuration.nix +++ b/hosts/carbon/configuration.nix @@ -68,7 +68,7 @@ ips = [ "fe80::138:2/64" "169.254.138.2/24" ]; peers = [ { allowedIPs = [ "0.0.0.0/0" "::/0" ]; - endpoint = "188.34.158.206:50138"; + endpoint = "5.45.100.191:50138"; publicKey = "aP6optNE7nVk6coo+USkSDtB62rAc/isfofRML9V2HM="; persistentKeepalive = 25; } ]; diff --git a/hosts/porter/configuration.nix b/hosts/porter/configuration.nix index 1c4910e..321e517 100644 --- a/hosts/porter/configuration.nix +++ b/hosts/porter/configuration.nix @@ -25,11 +25,11 @@ { address = "10.152.0.1"; prefixLength = 32; } # Anycast ]; # Network - networking.interfaces.ens3.ipv4.addresses = [ { address = "188.34.158.206"; prefixLength = 32; } ]; - networking.interfaces.ens3.ipv6.addresses = [ { address = "2a01:4f8:c010:4c92::1"; prefixLength = 64; } ]; - networking.defaultGateway = { address = "172.31.1.1"; interface = "ens3"; }; + networking.interfaces.ens3.ipv4.addresses = [ { address = "5.45.100.191"; prefixLength = 22; } ]; + networking.interfaces.ens3.ipv6.addresses = [ { address = "2a03:4000:6:48d::1"; prefixLength = 64; } ]; + networking.defaultGateway = { address = "5.45.100.1"; interface = "ens3"; }; networking.defaultGateway6 = { address = "fe80::1"; interface = "ens3"; }; - networking.nameservers = [ "213.133.98.98" "213.133.99.99" "213.133.100.100" ]; + networking.nameservers = [ "46.38.255.230" "46.38.252.230" ]; networking.wireguard.enable = true; networking.wireguard.interfaces = { diff --git a/hosts/porter/hardware-configuration.nix b/hosts/porter/hardware-configuration.nix index 278b87c..dd96eb9 100644 --- a/hosts/porter/hardware-configuration.nix +++ b/hosts/porter/hardware-configuration.nix @@ -8,13 +8,13 @@ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "xhci_pci" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/d3f901b2-9c2c-4956-938a-2057455107a0"; + { device = "/dev/disk/by-uuid/5cff6266-2474-41e5-9861-6c18ee05a796"; fsType = "ext4"; };