flake/nixos/profiles/opt-in/wireless/default.nix

8 lines
298 B
Nix

{lib, ...}: {
sops.secrets = builtins.mapAttrs (_name: value: value // {sopsFile = ./secrets.yaml;}) {
"wireless/wangxiaobo".path = "/var/lib/iwd/wangxiaobo.psk";
"wireless/ImmortalWrt".path = "/var/lib/iwd/ImmortalWrt.psk";
};
networking.wireless.iwd.enable = lib.mkDefault true;
}