char/topaz-flake

git clone https://git.t4t.associates/char/topaz-flake

Charlotte Sombump flake to new nixos release and set gateway iface1cea27a

main
1021 B38 linesraw
1{ lib, ... }: {
2  # This file was populated at runtime with the networking
3  # details gathered from the active system.
4  networking = {
5    nameservers = [ "2a01:4ff:ff00::add:2"
6 "2a01:4ff:ff00::add:1"
7 "185.12.64.1"
8 ];
9    defaultGateway = {
10      address = "172.31.1.1";
11      interface = "eth0";
12    };
13    defaultGateway6 = {
14      address = "fe80::1";
15      interface = "eth0";
16    };
17    dhcpcd.enable = false;
18    usePredictableInterfaceNames = lib.mkForce false;
19    interfaces = {
20      eth0 = {
21        ipv4.addresses = [
22          { address="88.198.199.29"; prefixLength=32; }
23        ];
24        ipv6.addresses = [
25          { address="2a01:4f8:c2c:228a::1"; prefixLength=64; }
26{ address="fe80::9400:3ff:fee1:34e0"; prefixLength=64; }
27        ];
28        ipv4.routes = [ { address = "172.31.1.1"; prefixLength = 32; } ];
29        ipv6.routes = [ { address = "fe80::1"; prefixLength = 128; } ];
30      };
31
32    };
33  };
34  services.udev.extraRules = ''
35    ATTR{address}=="96:00:03:e1:34:e0", NAME="eth0"
36
37  '';
38}