summaryrefslogtreecommitdiff
path: root/hosts/minime/networking/uvm.nix
diff options
context:
space:
mode:
authorGrisha Shipunov2025-01-12 13:45:55 +0100
committerGrisha Shipunov2025-01-12 14:02:32 +0100
commit91078925890dfbbef82a644dfc9734a0efdc179b (patch)
tree1f6c27124957544ffb06103d1382c8ff4ee0e4e5 /hosts/minime/networking/uvm.nix
parent2c6f0762ea3faadea2c3a196c0d1717afa3c42da (diff)
some work
Diffstat (limited to 'hosts/minime/networking/uvm.nix')
-rw-r--r--hosts/minime/networking/uvm.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/hosts/minime/networking/uvm.nix b/hosts/minime/networking/uvm.nix
new file mode 100644
index 0000000..15e498e
--- /dev/null
+++ b/hosts/minime/networking/uvm.nix
@@ -0,0 +1,19 @@
+{ ... }: {
+ systemd.network = {
+ netdevs."10-uvm-br" = {
+ netdevConfig = {
+ Kind = bridge;
+ Name = "uvm-br";
+ };
+ };
+
+ networks."10-uvm-br" = {
+ matchConfig.Name = "uvm-br";
+ networkConfig = {
+ DHCPServer = false;
+ IPv6SendRA = true;
+ };
+ Address = [ ];
+ };
+ };
+}