2021-03-19 01:11:37 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-01-23 16:57:20 +00:00
|
|
|
{ depot, lib, pkgs, config, ... }:
|
2021-03-19 01:11:37 +00:00
|
|
|
let
|
|
|
|
inherit (depot.ops) secrets;
|
|
|
|
in {
|
|
|
|
imports = [
|
2022-01-08 21:49:09 +00:00
|
|
|
../lib/frantech.nix
|
2021-03-19 01:11:37 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
networking = {
|
2021-03-28 00:34:36 +00:00
|
|
|
hostName = "frantech-lux01";
|
2021-03-19 01:11:37 +00:00
|
|
|
hostId = "92a60220";
|
|
|
|
|
2022-01-08 21:49:09 +00:00
|
|
|
defaultGateway.address = "107.189.4.1";
|
|
|
|
defaultGateway6.address = "2605:6400:30::1";
|
2021-03-19 01:11:37 +00:00
|
|
|
interfaces.ens3 = {
|
|
|
|
ipv4.addresses = [{ address = "107.189.4.182"; prefixLength = 24; }];
|
|
|
|
ipv6.addresses = [{ address = "2605:6400:30:f1d2::1"; prefixLength = 48; }];
|
|
|
|
};
|
|
|
|
};
|
2021-03-19 16:16:06 +00:00
|
|
|
my.ip.tailscale = "100.125.159.57";
|
2021-03-19 01:11:37 +00:00
|
|
|
|
|
|
|
system.stateVersion = "21.05";
|
|
|
|
}
|