29 lines
742 B
Nix
29 lines
742 B
Nix
# SPDX-FileCopyrightText: 2024 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, lib, pkgs, config, ... }:
|
|
let
|
|
inherit (depot.ops) secrets;
|
|
in {
|
|
imports = [
|
|
../lib/netcup.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "netcup-ams01";
|
|
hostId = "1246dda1";
|
|
|
|
defaultGateway.address = "152.53.104.1";
|
|
defaultGateway6.address = "fe80::1";
|
|
interfaces.enp7s0 = {
|
|
ipv4.addresses = [{ address = "152.53.107.70"; prefixLength = 22; }];
|
|
ipv6.addresses = [{ address = "2a0a:4cc0:40:1bc::1"; prefixLength = 48; }];
|
|
};
|
|
};
|
|
my.ip.tailscale = "100.107.159.58";
|
|
my.ip.tailscale6 = "fd7a:115c:a1e0::9701:9f3a";
|
|
|
|
system.stateVersion = "24.11";
|
|
my.systemType = "aarch64-linux";
|
|
}
|