Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
ethnt committed Dec 29, 2023
1 parent f28c4a3 commit d90b696
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 16 deletions.
10 changes: 5 additions & 5 deletions deploy/vms.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
}
}
Expand Down
2 changes: 1 addition & 1 deletion hosts/builder/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, suites, profiles, hosts, ... }: {
{ suites, ... }: {
imports = with suites;
core ++ homelab ++ proxmox-vm
++ [ ./hardware-configuration.nix ./disk-config.nix ];
Expand Down
10 changes: 2 additions & 8 deletions hosts/builder/hardware-configuration.nix
Original file line number Diff line number Diff line change
@@ -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" ];
Expand Down
6 changes: 4 additions & 2 deletions modules/profiles/networking/tailscale/exit-node.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
];
}

0 comments on commit d90b696

Please sign in to comment.