ops/nixos: init bvm-{twitterchiver,prosody,ipfs}

This commit is contained in:
Luke Granger-Brown 2021-03-28 13:10:27 +00:00
parent f27a8f8f1a
commit 7979d936a4
6 changed files with 75 additions and 1 deletions

View file

@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ ... }:
{
imports = [
../lib/bvm.nix
];
# Networking!
networking = {
hostName = "bvm-ipfs";
hostId = "6eca8221";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.203"; prefixLength = 23; }];
};
};
system.stateVersion = "21.05";
}

View file

@ -17,6 +17,7 @@
ipv4.addresses = [{ address = "10.100.0.200"; prefixLength = 23; }];
};
};
my.ip.tailscale = "100.65.226.19";
system.stateVersion = "21.05";
}

View file

@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ ... }:
{
imports = [
../lib/bvm.nix
];
# Networking!
networking = {
hostName = "bvm-prosody";
hostId = "5c62ee63";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.202"; prefixLength = 23; }];
};
};
system.stateVersion = "21.05";
}

View file

@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ ... }:
{
imports = [
../lib/bvm.nix
];
# Networking!
networking = {
hostName = "bvm-twitterchiver";
hostId = "c7ff157c";
interfaces.enp1s0 = {
ipv4.addresses = [{ address = "10.100.0.201"; prefixLength = 23; }];
};
};
system.stateVersion = "21.05";
}

View file

@ -34,6 +34,9 @@ let
"frantech-nyc01"
"frantech-las01"
"bvm-nixosmgmt"
"bvm-twitterchiver"
"bvm-prosody"
"bvm-ipfs"
];
rebuilder = system: (import ./lib/rebuilder.nix (args // { system = system; }));
systemCfgs = lib.genAttrs systems

View file

@ -12,7 +12,11 @@ in {
isoImage.isoName = lib.mkForce "nixos-${depot.version}-${pkgs.stdenv.hostPlatform.system}.iso";
isoImage.storeContents = lib.mkAfter (builtins.attrValues depot.ops.nixos.systems);
isoImage.storeContents = [
depot.ops.nixos.systems.bvm-twitterchiver
depot.ops.nixos.systems.bvm-prosody
depot.ops.nixos.systems.bvm-ipfs
];
system.stateVersion = "21.05";
}