depot/ops/nixos/bvm-prosody/default.nix

34 lines
693 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
2021-03-28 22:52:04 +00:00
{ depot, ... }:
2021-03-28 22:46:55 +00:00
let
inherit (depot.ops) secrets;
machineSecrets = secrets.machineSpecific.bvm-prosody;
in {
imports = [
../lib/bvm.nix
];
# Networking!
networking = {
hostName = "bvm-prosody";
hostId = "5c62ee63";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.202"; prefixLength = 23; }];
};
};
2021-03-28 14:33:54 +00:00
my.ip.tailscale = "100.86.22.44";
2021-03-28 22:46:55 +00:00
services.coturn = {
enable = true;
use-auth-secret = true;
realm = "turn.lukegb.com";
static-auth-secret = machineSecrets.turnSecret;
};
system.stateVersion = "21.05";
}