aboutsummaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/lapin.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/machines/lapin.nix b/machines/lapin.nix
new file mode 100644
index 0000000..21c24d8
--- /dev/null
+++ b/machines/lapin.nix
@@ -0,0 +1,19 @@
+{ ... }:
+
+{
+ networking = {
+ defaultGateway = "172.31.1.1";
+ nameservers = [
+ "185.12.64.1" "185.12.64.2"
+ "2a01:4ff:ff00::add:1" "2a01:4ff:ff00::add:2"
+ ];
+ };
+
+ systemd.network.enable = true;
+ systemd.network.networks."10-wan" = {
+ matchConfig.Name = "enp1s0";
+ networkConfig.DHCP = "ipv4";
+ address = [ "2a01:4f8:c012:9493::1" ];
+ routes = [ { routeConfig.Gateway = "fe80::1"; } ];
+ };
+} \ No newline at end of file