mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 06:32:42 +02:00
feat: set https proxy for nix daemon
This commit is contained in:
@@ -17,6 +17,11 @@ in {
|
|||||||
./secureboot.nix
|
./secureboot.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# set http proxy for nix-daemon
|
||||||
|
systemd.services.nix-daemon.environment = {
|
||||||
|
https_proxy = "http://192.168.5.201:7890";
|
||||||
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
inherit (vars_networking) defaultGateway nameservers;
|
inherit (vars_networking) defaultGateway nameservers;
|
||||||
|
|||||||
Reference in New Issue
Block a user