feat(eientei): add proxy configuration

This commit is contained in:
514fpv 2024-02-02 01:59:11 +08:00
parent f3218d7794
commit 57549b647e
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -29,6 +29,11 @@
}; };
boot.initrd.systemd.services.zfs-import-eientei.after = [ "cryptsetup.target" ]; 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 ./. [ imports = lib.pipe ./. [
builtins.readDir builtins.readDir
(lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix")) (lib.filterAttrs (n: ty: ty == "regular" && n != "default.nix"))