nixos: Add domain to assignments

This commit is contained in:
2022-06-05 16:40:44 +01:00
parent fd4fcdc2a4
commit 4e36748154
6 changed files with 12 additions and 9 deletions

View File

@@ -9,6 +9,7 @@
assignments = {
internal = {
altNames = [ "vm" ];
domain = lib.my.colony.domain;
ipv4.address = "${lib.my.colony.start.base.v4}2";
ipv6 = {
iid = "::2";
@@ -32,8 +33,6 @@
{
imports = [ "${modulesPath}/profiles/qemu-guest.nix" ];
networking.domain = lib.my.colony.domain;
boot.kernelParams = [ "intel_iommu=on" ];
boot.loader.systemd-boot.configurationLimit = 20;
fileSystems = {

View File

@@ -8,6 +8,7 @@
internal = {
name = "estuary-vm";
altNames = [ "fw" ];
domain = lib.my.colony.domain;
ipv4 = {
address = "80.111.124.10";
gateway = null;
@@ -37,8 +38,6 @@
config = mkMerge [
{
networking.domain = lib.my.colony.domain;
boot.kernelParams = [ "console=ttyS0,115200n8" ];
fileSystems = {
"/boot" = {

View File

@@ -7,6 +7,7 @@
internal = {
name = "middleman-ctr";
altNames = [ "http" ];
domain = lib.my.colony.domain;
ipv4.address = "${lib.my.colony.start.ctrs.v4}2";
ipv6 = {
iid = "::2";

View File

@@ -6,6 +6,7 @@
assignments = {
internal = {
name = "vaultwarden-ctr";
domain = lib.my.colony.domain;
ipv4.address = "${lib.my.colony.start.ctrs.v4}3";
ipv6 = {
iid = "::3";

View File

@@ -9,6 +9,7 @@
internal = {
name = "shill-vm";
altNames = [ "ctr" ];
domain = lib.my.colony.domain;
ipv4.address = "${lib.my.colony.start.vms.v4}2";
ipv6 = {
iid = "::2";
@@ -35,8 +36,6 @@
config = mkMerge [
{
networking.domain = lib.my.colony.domain;
boot.kernelParams = [ "console=ttyS0,115200n8" ];
fileSystems = {
"/boot" = {