summary refs log tree commit diff
path: root/modules/wireless.nix
blob: fdebd1d456e8cac1432a0bc6859d3988056a52f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:

{
  age.secrets.wireless-secrets = {
    file = ../secrets/wireless-secrets.age;
  };

  networking.wireless = {
    enable = true;

    # each machine which uses this module will configure their interface.
    # interfaces = [ ];

    secretsFile = config.age.secrets.wireless-secrets.path;
    networks = {
      # yea this is my home network :3
      # (my boyfriends brother picked the name)
      "Das asoziale Netzwerk".pskRaw = "ext:psk_home";
    };
  };
}