ops/nixos: rename various machines to comply with naming convention

* *-frantech should be frantech-*, it's provider first
* blade VMs now all begin bvm-
This commit is contained in:
Luke Granger-Brown 2021-03-28 00:34:36 +00:00
parent 6a80243cce
commit b2e2f965c5
10 changed files with 23 additions and 17 deletions

View file

@ -86,17 +86,21 @@ blade-torres:
extends: .deploy
script: './hack/deploy.sh "blade-torres" ""'
las01-frantech:
bvm-nixosmgmt:
extends: .deploy
script: './hack/deploy.sh "las01-frantech" ""'
script: './hack/deploy.sh "bvm-nixosmgmt" ""'
lux01-frantech:
frantech-las01:
extends: .deploy
script: './hack/deploy.sh "lux01-frantech" ""'
script: './hack/deploy.sh "frantech-las01" ""'
nyc01-frantech:
frantech-lux01:
extends: .deploy
script: './hack/deploy.sh "nyc01-frantech" ""'
script: './hack/deploy.sh "frantech-lux01" ""'
frantech-nyc01:
extends: .deploy
script: './hack/deploy.sh "frantech-nyc01" ""'
docker-push:
stage: deploy

View file

@ -37,7 +37,7 @@ in {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix.maxJobs = lib.mkDefault 1;
nix.maxJobs = lib.mkDefault 2;
# Networking!
networking = {

View file

@ -30,10 +30,10 @@ let
"blade-torres"
"blade-chakotay"
"blade-kim"
"lux01-frantech"
"nyc01-frantech"
"las01-frantech"
"nixos-mgmt"
"frantech-lux01"
"frantech-nyc01"
"frantech-las01"
"bvm-nixosmgmt"
];
rebuilder = system: (import ./lib/rebuilder.nix (args // { system = system; }));
systemCfgs = lib.genAttrs systems

View file

@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
-->
# las01-frantech.as205479.net
# frantech-las01.as205479.net
1GiB RAM VM from BuyVM.

View file

@ -40,7 +40,7 @@ in {
# Networking!
networking = {
hostName = "las01-frantech";
hostName = "frantech-las01";
domain = "as205479.net";
hostId = "2b6a8f37";

View file

@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
-->
# lux01-frantech.as205479.net
# frantech-lux01.as205479.net
1GiB RAM VM from BuyVM.

View file

@ -40,7 +40,7 @@ in {
# Networking!
networking = {
hostName = "lux01-frantech";
hostName = "frantech-lux01";
domain = "as205479.net";
hostId = "92a60220";

View file

@ -4,7 +4,7 @@ SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
SPDX-License-Identifier: Apache-2.0
-->
# nyc01-frantech.as205479.net
# frantech-nyc01.as205479.net
1GiB RAM VM from BuyVM.

View file

@ -40,7 +40,7 @@ in {
# Networking!
networking = {
hostName = "nyc01-frantech";
hostName = "frantech-nyc01";
domain = "as205479.net";
hostId = "251837df";

View file

@ -53,6 +53,8 @@ blade-kim.int 3600 IN A 100.84.36.62
blade-janeway.int 3600 IN A 100.121.116.85
blade-chakotay.int 3600 IN A 100.121.11.7
bvm-nixosmgmt.int 3600 IN A 100.65.226.19
; laptops, desktops, routers
totoro.int 3600 IN A 100.122.86.11
porcorosso-win.int 3600 IN A 100.93.164.79