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 = { |
| 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 | }; |
PineaFan | 3ed74f0 | 2024-04-20 20:41:36 +0100 | [diff] [blame] | 27 | |
| 28 | "OurVM2.4".psk = "@OurVM2_4@"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | environmentFile = 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] | 32 | }; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 33 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 34 | hardware.enableRedistributableFirmware = true; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 35 | |
| 36 | sops.secrets."modules/nixos/wifi/wifi-passwords.sops.chimera.env.bin" = { |
| 37 | mode = "0400"; |
| 38 | owner = config.users.users.root.name; |
| 39 | group = config.users.users.root.group; |
| 40 | sopsFile = ./wifi-passwords.sops.chimera.env.bin; |
| 41 | format = "binary"; |
| 42 | }; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 43 | } |