Do we have anything for this yet, maybe someone has in their own configuration? The only things I see in nixpkgs right now are very
To declare networks for
iwd, it looks like one must calculate a
PreSharedKey and provide it with the
Passphrase in a ini file in
> sudo cat /var/lib/iwd/chimera-wifi.psk [Security] PreSharedKey=[hex str] Passphrase=[my wifi password in plaintext]
- I don’t see anything about it reading from
- I’m not finding any sort of
PassphraseFileline that would tell
iwdto read the password from a file, such as one placed by
sops-nix. Maybe I’ll file a feature request on
iwdafter looking more.
Thoughts? Others interested? Would we just write a systemd oneshot service that symlinks the configs in
/var/lib/iwd at boot? Patch
iwd to look in
/etc/iwd for networks?
Is it important that the PSK be re-used for a given device, or can the one-shot just generate the PSK from the passphrase on each boot?
Thanks for any input in advance.