diff --git a/nixosModules/system/wifi.nix b/nixosModules/system/wifi.nix index 89596ecd..6f59197a 100644 --- a/nixosModules/system/wifi.nix +++ b/nixosModules/system/wifi.nix @@ -5,12 +5,14 @@ pkgs, ... }: { + age.secrets.DustinsiPhone.file = ../../secrets/wifi/DustinsiPhone.age; age.secrets.Stargate-Discovery.file = ../../secrets/wifi/Stargate-Discovery.age; age.secrets.wattson.file = ../../secrets/wifi/wattson.age; networking.networkmanager = { ensureProfiles = { environmentFiles = [ + config.age.secrets.DustinsiPhone.path config.age.secrets.Stargate-Discovery.path config.age.secrets.wattson.path ]; @@ -35,7 +37,18 @@ psk = "$wattsonPSK"; }; }; + "Dustin’s iPhone" = { + connection.type = "Dustin’s iPhone"; + connection.id = "Dustin’s iPhone"; + wifi.ssid = "Dustin’s iPhone"; + wifi-security = { + auth-alg = "open"; + key-mgmt = "wpa-psk"; + psk = "$DustinsiPhonePSK"; + }; + }; }; }; }; } + diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 1429d044..59b73bc1 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -18,6 +18,7 @@ in { "spotify/clientId.age".publicKeys = users ++ systems; "spotify/clientSecret.age".publicKeys = users ++ systems; "tailscale/authKeyFile.age".publicKeys = users ++ systems; + "wifi/DustinsiPhone.age".publicKeys = users ++ systems; "wifi/Stargate-Discovery.age".publicKeys = users ++ systems; "wifi/wattson.age".publicKeys = users ++ systems; } diff --git a/secrets/wifi/DustinsiPhone.age b/secrets/wifi/DustinsiPhone.age new file mode 100644 index 00000000..3b69b22b --- /dev/null +++ b/secrets/wifi/DustinsiPhone.age @@ -0,0 +1,23 @@ +age-encryption.org/v1 +-> ssh-ed25519 c7E/gQ pxr/kp/0Y2aoiaYuSxBVhcN1rjFvyFNoDFlm7xXt6ig +y4Xh0O+7R04KtSam5coHHQD9r6hZhfCYoZI4B3VgVrk +-> ssh-ed25519 d4UErQ id10UQIfLZzLVIFSwq2948FeVV85e5XuD17FavGelxE +UUYVgFeOAExSNcC5EWVAh0wZBTGluRUR5PPypBagU6c +-> ssh-ed25519 1mX44w IJmSrK/GvFYE8pAv4NrfjlohHCPhQEMaFDz3LEaDK3Y +K69BYbW1jr2WFXloknKkHHSy/kCx9hsOh6wXnlwgQfU +-> ssh-ed25519 nrny8w OXU2cwpT6wJiyxlI7aO5PIvPH/GqKXk8m3tIhrvMY0Y +cEx1MQntgkkjo3jFm8lmrprTlxxHx13UsrXhq5PzwjA +-> ssh-ed25519 W5caqg r7wPfRoiG/Mi5M//QAlYMOxNMLKqh7zTPsjYGhrH/Dw +3mfRl2hbEnfapVKRqfuQRkO3vbuSiEtuuCSrQe/lf8Y +-> ssh-ed25519 xIeYNQ qZIHVfz1yfI/2+4W0xIRTqNnNzAN2+B54euBW6s3+lg +JAODzfV21LpeVrk1Wd7TGqtyxeffizAq1Wzg7hHPXow +-> ssh-ed25519 GrlIbA Ml3bSApRYZqlCaUVBB3vL88wcLFilly4vfEkCKSfqVM +pfOqjAJ80r+Q4K4za5Yqcf5NXF92TfhSrxWMac4aMtQ +-> ssh-ed25519 g+apXg 2dzYHTL49QXa2/Q4lgINBJ/f6tc2aJ8Bbz7ngUhlBGw +ujPmVtGsqjmg7hY64dN5ZWDvTaZZZc0dP2NBErc9PXk +-> ssh-ed25519 osHDzw 5XNmQ2kdwUkdc74IGyOle+W6gTTIklRHSUdyXXjKsHY +76lPeBmovMm2Ku820tKCP7oJ4QmirT819LhcO2k+cXE +-> ssh-ed25519 s3sc2Q vhP9WxNcNlXDuyRoTP6AwA7u86y0q3YWpkCQeBhvqgM +HBCAJcgvvhXAGyf7/LukdJ/vFmh+codmeMa5a7qUZxE +--- Dvaev3vCImNJMBjtuiZ9bH4C07PXa3BEZuqMTGE/UqQ +EU%3|t/?Y*Rp/j; -5V,X \ No newline at end of file