2024-07-09 23:12:02 +00:00
|
|
|
{lib, ...}: {
|
|
|
|
sops.secrets = builtins.mapAttrs (_name: value: value // {sopsFile = ./secrets.yaml;}) {
|
|
|
|
"wireless/wangxiaobo".path = "/var/lib/iwd/wangxiaobo.psk";
|
2024-07-10 08:33:00 +00:00
|
|
|
"wireless/ImmortalWrt".path = "/var/lib/iwd/ImmortalWrt.psk";
|
2024-07-09 23:12:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.wireless.iwd.enable = lib.mkDefault true;
|
|
|
|
}
|