summaryrefslogtreecommitdiff
path: root/machines/doretta
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2025-04-15 16:34:14 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2025-04-15 16:34:14 -0600
commite1b78afd2a6570f7b28ebe8e26772747178c79f0 (patch)
tree2999066cea84a4d515c8bcbc70c5c6da9bb90e3e /machines/doretta
parentf24e3c345cbb84ca569c59d3eb96f894080fbc38 (diff)
commit missing most of the files
Diffstat (limited to 'machines/doretta')
-rw-r--r--machines/doretta/default.nix29
1 files changed, 28 insertions, 1 deletions
diff --git a/machines/doretta/default.nix b/machines/doretta/default.nix
index 9b16f0c..057777e 100644
--- a/machines/doretta/default.nix
+++ b/machines/doretta/default.nix
@@ -35,7 +35,7 @@
programs.virt-manager.enable = true;
microvm.vms = {
- microvm-test = {
+ foolcreek = {
config = {
microvm.shares = [{
source = "/nix/store";
@@ -46,6 +46,33 @@
};
};
};
+ systemd.network = {
+ enable = true;
+ networks = {
+ "10-lan" = {
+ matchConfig.Name = ["eno1" "vm-*"];
+ networkConfig = {
+ Bridge = "br0";
+ };
+ };
+ "10-lan-bridge" = {
+ matchConfig.Name = "br0";
+ networkConfig = {
+ Address = ["10.1.11.100/24"];
+ Gateway = ["10.1.11.254"];
+ DNS = ["8.8.8.8"];
+ # IPv6AcceptRA = true;
+ };
+ linkConfig.RequiredForOnline = "routable";
+ };
+ };
+ netdevs."vr0" = {
+ netdevConfig = {
+ Name = "br0";
+ Kind = "bridge";
+ };
+ };
+ };
# Set your time zone.
time.timeZone = "US/Mountain";