From 596308634840634c216e8f1f1db8920886df0aa4 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 23:19:40 -0800 Subject: migration: start copenhagen config --- snowfall/systems/x86_64-linux/copenhagen/network.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 snowfall/systems/x86_64-linux/copenhagen/network.nix (limited to 'snowfall/systems/x86_64-linux/copenhagen/network.nix') diff --git a/snowfall/systems/x86_64-linux/copenhagen/network.nix b/snowfall/systems/x86_64-linux/copenhagen/network.nix new file mode 100644 index 0000000..affe697 --- /dev/null +++ b/snowfall/systems/x86_64-linux/copenhagen/network.nix @@ -0,0 +1,20 @@ +{ ... }: + +{ + networking = { + useDHCP = true; + + wireless = { + enable = true; + + # Import /etc/wpa_supplicant.conf networks + allowAuxiliaryImperativeNetworks = true; + }; + + firewall.enable = true; + }; + + environment.etc."wpa_supplicant.conf" = { + source = "/secrets/wireless.conf"; + }; +} -- cgit v1.2.3