aboutsummaryrefslogtreecommitdiff
path: root/snowfall/systems/x86_64-linux/copenhagen/network.nix
blob: affe697ffb6c6997db8a346ab14ff1a4f3caf011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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";
  };
}