ops/nixos: init bvm-{twitterchiver,prosody,ipfs}
This commit is contained in:
parent
f27a8f8f1a
commit
7979d936a4
6 changed files with 75 additions and 1 deletions
22
ops/nixos/bvm-ipfs/default.nix
Normal file
22
ops/nixos/bvm-ipfs/default.nix
Normal 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";
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
ipv4.addresses = [{ address = "10.100.0.200"; prefixLength = 23; }];
|
||||
};
|
||||
};
|
||||
my.ip.tailscale = "100.65.226.19";
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
|
22
ops/nixos/bvm-prosody/default.nix
Normal file
22
ops/nixos/bvm-prosody/default.nix
Normal 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";
|
||||
}
|
22
ops/nixos/bvm-twitterchiver/default.nix
Normal file
22
ops/nixos/bvm-twitterchiver/default.nix
Normal 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";
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue