{ config, lib, pkgs, ... }: let endpoint = "142.132.159.202"; in { imports = [ ./fs.nix ]; boot.initrd.availableKernelModules = [ "ahci" "nvme" ]; boot.kernelModules = [ "kvm-amd" ]; boot.loader.grub = { mirroredBoots = [ { devices = [ "/dev/sdd" ]; path = "/boot"; } { devices = [ "/dev/sdc" ]; path = "/boot2"; } { devices = [ "/dev/sda" ]; path = "/boot3"; } { devices = [ "/dev/sdb" ]; path = "/boot4"; } ]; }; networking = { domain = "vapor.systems"; hostName = "phaenn"; hostId = "f9274217"; interfaces.eth0.ipv4.addresses = [{ address = endpoint; prefixLength = 26; }]; interfaces.eth0.ipv6.addresses = [{ address = "2a01:4f8:261:3a04::1"; prefixLength = 64; }]; defaultGateway = "142.132.159.193"; defaultGateway6 = { address = "fe80::1"; interface = "eth0"; }; }; pubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFdujV+knnOzP+oW6C42yWRJVhkSR+lcdx+FUsCP3Q1v root@phaenn"; wireguard = { enable = true; roaming = true; inherit endpoint; v4 = { address = "10.10.0.2"; }; v6 = { address = "2"; }; publicKey = "GmUvA3L8M2+N59my6MeoGwDD8puLOO5/Rbe29WtduBI="; allowedIPs = [ "10.102.1.0/24" "fd15:3d8c:d429:102:100::/72" ]; }; deploy = { host = endpoint; buildOn = "remote"; substituteOnTarget = true; hermetic = false; }; }