From 314e9294e2c47fe1b8c893b68105edd2178c4b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sat, 1 Nov 2025 19:37:10 +0800 Subject: [PATCH] hydrogen: some minor tweaks for the build to work --- nix/configurations/hydrogen.nix | 4 +++- nix/configurations/hydrogen/nixos/connectivity.nix | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/nix/configurations/hydrogen.nix b/nix/configurations/hydrogen.nix index 4bb8d997..a9a2d7c8 100644 --- a/nix/configurations/hydrogen.nix +++ b/nix/configurations/hydrogen.nix @@ -43,7 +43,9 @@ in ] # use lix everywhere and wrap it with nom ++ [ - (import (sources.lix-module + "/overlay.nix") {inherit (sources) lix;}) + # TODO + # Can't get it build for now + # (import (sources.lix-module + "/overlay.nix") {inherit (sources) lix;}) (import ../overlays/nix-monitored.nix) ]; diff --git a/nix/configurations/hydrogen/nixos/connectivity.nix b/nix/configurations/hydrogen/nixos/connectivity.nix index 2c04b047..c07dac6b 100644 --- a/nix/configurations/hydrogen/nixos/connectivity.nix +++ b/nix/configurations/hydrogen/nixos/connectivity.nix @@ -62,8 +62,15 @@ }; in lib.mkMerge (map go ns); + + allowList = builtins.filter (x: x.ssid == "~"); in - fromList (import ../../../connectivity/networks.nix); + fromList ( + # We only want to use my own network + allowList ( + import ../../../connectivity/networks.nix + ) + ); }; };