Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 1 | { config, ... }: { |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 2 | networking.wireless = { |
| 3 | enable = true; |
| 4 | userControlled.enable = true; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 5 | |
| 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 Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 29 | }; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 30 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 31 | hardware.enableRedistributableFirmware = true; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 32 | |
| 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 Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 40 | } |