diff --git a/deploy/vms.tf b/deploy/vms.tf index 4ce2528..c14b3b6 100644 --- a/deploy/vms.tf +++ b/deploy/vms.tf @@ -112,9 +112,9 @@ resource "proxmox_vm_qemu" "builder" { bios = "seabios" network { - model = "virtio" - bridge = "vmbr0" - tag = 10 + model = "virtio" + bridge = "vmbr0" + tag = 10 # macaddr = "CE:22:2C:7F:DE:79" link_down = false firewall = false @@ -129,8 +129,8 @@ resource "proxmox_vm_qemu" "builder" { storage = "local-zfs" discard = "on" # file = "vm-101-disk-0" - format = "raw" - slot = 0 + format = "raw" + slot = 0 # volume = "local-zfs:vm-101-disk-0" } } diff --git a/hosts/builder/configuration.nix b/hosts/builder/configuration.nix index 52dd418..0b6ef10 100644 --- a/hosts/builder/configuration.nix +++ b/hosts/builder/configuration.nix @@ -1,4 +1,4 @@ -{ config, lib, suites, profiles, hosts, ... }: { +{ suites, ... }: { imports = with suites; core ++ homelab ++ proxmox-vm ++ [ ./hardware-configuration.nix ./disk-config.nix ]; diff --git a/hosts/builder/hardware-configuration.nix b/hosts/builder/hardware-configuration.nix index e102761..abbdcdc 100644 --- a/hosts/builder/hardware-configuration.nix +++ b/hosts/builder/hardware-configuration.nix @@ -1,12 +1,6 @@ { - boot.initrd.availableKernelModules = [ - "ata_piix" - "uhci_hcd" - "virtio_pci" - "virtio_scsi" - "sd_mod" - "sr_mod" - ]; + boot.initrd.availableKernelModules = + [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; diff --git a/modules/profiles/networking/tailscale/exit-node.nix b/modules/profiles/networking/tailscale/exit-node.nix index 40455c8..078ee41 100644 --- a/modules/profiles/networking/tailscale/exit-node.nix +++ b/modules/profiles/networking/tailscale/exit-node.nix @@ -4,6 +4,8 @@ "net.ipv6.conf.all.forwarding" = 1; }; - services.tailscale.extraUpFlags = - lib.mkAfter [ "--advertise-exit-node" "--advertise-routes=192.168.10.0/24" ]; + services.tailscale.extraUpFlags = lib.mkAfter [ + "--advertise-exit-node" + "--advertise-routes=192.168.10.0/24" + ]; }