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