diff options
| author | Mel <einebeere@gmail.com> | 2023-09-24 20:35:09 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-09-24 20:35:09 +0200 |
| commit | 06900b906fb64df473a5955b21c64ede4616d378 (patch) | |
| tree | a9aa19a2c206cba4634e590c8bf300584ef14803 /machines | |
| parent | 04b8ac189c5f7d403d4b59b5d2cbabe689922f89 (diff) | |
| download | rnrd-06900b906fb64df473a5955b21c64ede4616d378.tar.zst rnrd-06900b906fb64df473a5955b21c64ede4616d378.zip | |
Create base config from lapin
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/lapin.nix | 19 |
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 |
