From 058044074ae136a07237db147ef024ce0cb86713 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 30 May 2026 15:05:01 +0300 Subject: [PATCH] Configure Nix HTTP proxy on hosts --- nixos/hosts/cloud-pc/default.nix | 2 ++ nixos/hosts/mini-pc/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nixos/hosts/cloud-pc/default.nix b/nixos/hosts/cloud-pc/default.nix index cd1dd63..9ffeb22 100644 --- a/nixos/hosts/cloud-pc/default.nix +++ b/nixos/hosts/cloud-pc/default.nix @@ -9,6 +9,8 @@ ./hardware.nix ]; + nix.settings.http-proxy = "http://192.168.1.10:10172"; + networking = { hostName = "cloud-pc"; useDHCP = false; diff --git a/nixos/hosts/mini-pc/default.nix b/nixos/hosts/mini-pc/default.nix index afaa92b..88dc9a4 100644 --- a/nixos/hosts/mini-pc/default.nix +++ b/nixos/hosts/mini-pc/default.nix @@ -9,6 +9,8 @@ ./hardware.nix ]; + nix.settings.http-proxy = "http://192.168.1.10:10172"; + networking = { hostName = "mini-pc"; useDHCP = false;