depot/ops/nixos/frantech-nyc01/default.nix

26 lines
694 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, lib, pkgs, config, ... }:
{
imports = [
../lib/frantech.nix
];
networking = {
hostName = "frantech-nyc01";
hostId = "251837df";
defaultGateway.address = "199.195.254.1";
defaultGateway6.address = "2605:6400:10::1";
interfaces.ens3 = {
ipv4.addresses = [{ address = "199.195.254.60"; prefixLength = 24; }];
ipv6.addresses = [{ address = "2605:6400:10:c77::1"; prefixLength = 48; }];
};
};
my.ip.tailscale = "100.99.236.25";
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:6263:ec19";
system.stateVersion = "21.05";
}