aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/spt-mox.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-08-08 10:13:19 +0200
committerKarel Kočí <cynerd@email.cz>2022-08-08 10:13:19 +0200
commit3649c233b73d03370779a8f58c6613a412979e8b (patch)
treef095d25c9d018802688e4cd56e807093eadd11ac /nixos/machine/spt-mox.nix
parent970c8596e86b8bb3ebff5e76e152fa5acdd65f98 (diff)
downloadnixos-personal-3649c233b73d03370779a8f58c6613a412979e8b.tar.gz
nixos-personal-3649c233b73d03370779a8f58c6613a412979e8b.tar.bz2
nixos-personal-3649c233b73d03370779a8f58c6613a412979e8b.zip
Improve devices and few more machines
Diffstat (limited to 'nixos/machine/spt-mox.nix')
-rw-r--r--nixos/machine/spt-mox.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix
index eb304b2..bb0ac5e 100644
--- a/nixos/machine/spt-mox.nix
+++ b/nixos/machine/spt-mox.nix
@@ -24,6 +24,16 @@ with lib;
];
};
};
+ interfaces.brlan = {
+ ipv4 = {
+ addresses = [{
+ address = config.cynerd.hosts.spt.mox;
+ prefixLength = 24;
+ }];
+ };
+ };
+ defaultGateway = config.cynerd.hosts.spt.omnia;
+ nameservers = [ config.cynerd.hosts.spt.omnia "1.1.1.1" "8.8.8.8" ];
dhcpcd.allowInterfaces = [ "brlan" ];
};
};