diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 23:19:40 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:53 -0700 |
| commit | 596308634840634c216e8f1f1db8920886df0aa4 (patch) | |
| tree | 7e55f6c8e8e6864067f293dce6c4ac4d5a3dd393 /snowfall/systems/x86_64-linux/copenhagen/network.nix | |
| parent | 1cfb12afdddce77ab2a8c430b53faf9d8d31d920 (diff) | |
migration: start copenhagen config
Diffstat (limited to 'snowfall/systems/x86_64-linux/copenhagen/network.nix')
| -rw-r--r-- | snowfall/systems/x86_64-linux/copenhagen/network.nix | 20 |
1 files changed, 20 insertions, 0 deletions
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"; + }; +} |