blob: e0b7968e625c2a2d552532b91d008278ceee562e [file] [log] [blame]
Samuel Shuert2e42e672024-02-21 21:49:28 +00001{ config, ... }: {
Skyler Greya0da6b22024-02-11 22:53:41 +00002 networking.wireless = {
3 enable = true;
4 userControlled.enable = true;
Samuel Shuert2e42e672024-02-21 21:49:28 +00005
6 networks = {
7 newadelie24 = {
8 psk = "@newadelie24@";
9 priority = 25;
10 };
11 newadelie50.psk = "@newadelie50@";
12 adelie10 = {
13 psk = "@adelie10@";
14 priority = 50;
15 };
16
17 # Hills Road 6th Form College
18 "HRSFC Wi-Fi".psk = "@HRSFC_Wi_Fi@";
19
20 # Coded's house
21 Orange2.psk = "@Orange2@";
22 "Orange2_5G A" = {
23 psk = "@Orange2_5G_A@";
24 priority = 100;
25 };
26 };
27
28 environmentFile = config.sops.secrets."modules/nixos/wifi/wifi-passwords.sops.chimera.env.bin".path;
Skyler Greya0da6b22024-02-11 22:53:41 +000029 };
Samuel Shuert2e42e672024-02-21 21:49:28 +000030
Skyler Greya0da6b22024-02-11 22:53:41 +000031 hardware.enableRedistributableFirmware = true;
Samuel Shuert2e42e672024-02-21 21:49:28 +000032
33 sops.secrets."modules/nixos/wifi/wifi-passwords.sops.chimera.env.bin" = {
34 mode = "0400";
35 owner = config.users.users.root.name;
36 group = config.users.users.root.group;
37 sopsFile = ./wifi-passwords.sops.chimera.env.bin;
38 format = "binary";
39 };
Skyler Greya0da6b22024-02-11 22:53:41 +000040}