Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 1 | { config, ... }: |
2 | { | ||||
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 3 | networking.wireless = { |
4 | enable = true; | ||||
5 | userControlled.enable = true; | ||||
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 6 | |
7 | networks = { | ||||
Skyler Grey | 32009b7 | 2024-05-24 23:59:15 +0000 | [diff] [blame] | 8 | # Mini's house |
9 | adelie24 = { | ||||
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 10 | pskRaw = "ext:newadelie24"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 11 | priority = 25; |
12 | }; | ||||
Skyler Grey | 32009b7 | 2024-05-24 23:59:15 +0000 | [diff] [blame] | 13 | adelie50 = { |
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 14 | pskRaw = "ext:newadelie50"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 15 | priority = 50; |
16 | }; | ||||
17 | |||||
18 | # Hills Road 6th Form College | ||||
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 19 | "HRSFC Wi-Fi".pskRaw = "ext:HRSFC_Wi_Fi"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 20 | |
21 | # Coded's house | ||||
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 22 | Orange2.pskRaw = "ext:Orange2"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 23 | "Orange2_5G A" = { |
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 24 | pskRaw = "ext:Orange2_5G_A"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 25 | priority = 100; |
26 | }; | ||||
PineaFan | 3ed74f0 | 2024-04-20 20:41:36 +0100 | [diff] [blame] | 27 | |
Skyler Grey | 32009b7 | 2024-05-24 23:59:15 +0000 | [diff] [blame] | 28 | # Pinea's house |
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 29 | "OurVM2.4".pskRaw = "ext:OurVM2_4"; |
Skyler Grey | 32009b7 | 2024-05-24 23:59:15 +0000 | [diff] [blame] | 30 | |
31 | # Moller institute | ||||
32 | "Moller" = {}; | ||||
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 33 | }; |
34 | |||||
Skyler Grey | 44fbdc1 | 2024-09-17 21:07:18 +0000 | [diff] [blame] | 35 | secretsFile = config.sops.secrets."modules/nixos/wifi/wifi-passwords.sops.chimera.env.bin".path; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 36 | }; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 37 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 38 | hardware.enableRedistributableFirmware = true; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 39 | |
40 | sops.secrets."modules/nixos/wifi/wifi-passwords.sops.chimera.env.bin" = { | ||||
41 | mode = "0400"; | ||||
42 | owner = config.users.users.root.name; | ||||
43 | group = config.users.users.root.group; | ||||
44 | sopsFile = ./wifi-passwords.sops.chimera.env.bin; | ||||
45 | format = "binary"; | ||||
46 | }; | ||||
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 47 | } |