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

27 lines
694 B
Nix
Raw Permalink Normal View History

2021-03-19 01:11:37 +00:00
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, lib, pkgs, config, ... }:
2022-04-09 20:51:24 +00:00
{
2021-03-19 01:11:37 +00:00
imports = [
../lib/frantech.nix
2021-03-19 01:11:37 +00:00
];
networking = {
hostName = "frantech-nyc01";
2021-03-19 01:11:37 +00:00
hostId = "251837df";
defaultGateway.address = "199.195.254.1";
defaultGateway6.address = "2605:6400:10::1";
2021-03-19 01:11:37 +00:00
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";
2022-09-01 23:22:16 +00:00
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:6263:ec19";
2021-03-19 01:11:37 +00:00
system.stateVersion = "21.05";
}