28 lines
734 B
Nix
28 lines
734 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, lib, pkgs, config, ... }:
|
|
let
|
|
inherit (depot.ops) secrets;
|
|
in {
|
|
imports = [
|
|
../lib/frantech.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "frantech-las01";
|
|
hostId = "2b6a8f37";
|
|
|
|
defaultGateway.address = "205.185.116.1";
|
|
defaultGateway6.address = "2605:6400:20::1";
|
|
interfaces.ens3 = {
|
|
ipv4.addresses = [{ address = "205.185.116.42"; prefixLength = 24; }];
|
|
ipv6.addresses = [{ address = "2605:6400:20:179b::1"; prefixLength = 48; }];
|
|
};
|
|
};
|
|
my.ip.tailscale = "100.127.132.77";
|
|
my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:627f:844d";
|
|
|
|
system.stateVersion = "21.05";
|
|
}
|