From 57549b647e8268cade4531fd79f974820d2d11c7 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Fri, 2 Feb 2024 01:59:11 +0800 Subject: [PATCH] feat(eientei): add proxy configuration --- spec/eientei/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/eientei/default.nix b/spec/eientei/default.nix index 70eb7281..0e277d8a 100644 --- a/spec/eientei/default.nix +++ b/spec/eientei/default.nix @@ -29,6 +29,11 @@ }; boot.initrd.systemd.services.zfs-import-eientei.after = [ "cryptsetup.target" ]; + networking.proxy = { + default = "socks5://192.168.1.253:1080"; + noProxy = "127.0.0.1,localhost,.localdomain"; + }; + imports = lib.pipe ./. [ builtins.readDir (lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix"))