29 lines
744 B
Nix
29 lines
744 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-nue01";
|
|
hostId = "07660052";
|
|
|
|
defaultGateway.address = "152.53.116.1";
|
|
defaultGateway6.address = "fe80::1";
|
|
interfaces.enp7s0 = {
|
|
ipv4.addresses = [{ address = "152.53.119.209"; prefixLength = 22; }];
|
|
ipv6.addresses = [{ address = "2a0a:4cc0:c0:3127::1"; prefixLength = 48; }];
|
|
};
|
|
};
|
|
my.ip.tailscale = "100.75.106.106";
|
|
my.ip.tailscale6 = "fd7a:115c:a1e0::ac01:6a6d";
|
|
|
|
system.stateVersion = "24.11";
|
|
my.systemType = "aarch64-linux";
|
|
}
|