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

25 lines
630 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";
system.stateVersion = "21.05";
}