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