diff --git a/spec/eientei/default.nix b/spec/eientei/default.nix index 6f7bcbdb..b87cf794 100644 --- a/spec/eientei/default.nix +++ b/spec/eientei/default.nix @@ -14,6 +14,7 @@ fs.cryptsetup.allowDiscards = false; fs.cryptsetup.uuids.secret = "c33c9b18-a280-42d7-8740-3f8d3f60dc43"; boot.lanzaboote = true; + boot.memtest = 4; acme.enable = true; oci.enable = true; }; @@ -32,6 +33,11 @@ }; boot.initrd.systemd.services.zfs-import-eientei.after = [ "cryptsetup.target" ]; + services.udev.extraRules = '' + SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="80:61:5f:07:9e:2f", NAME="ix0" + SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:e0:4c:68:bb:30", NAME="ss0" + ''; + networking.proxy = { allProxy = "socks5://192.168.1.253:1080"; noProxy = "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.1,localhost,.localdomain";