flake/nixos/profiles/wireless/default.nix

9 lines
293 B
Nix
Raw Normal View History

2024-07-09 23:12:02 +00:00
{lib, ...}: {
2024-07-21 10:09:21 +00:00
sops.secrets = lib.mapAttrs (_name: value: value // {sopsFile = ./secrets.yaml;}) {
2024-07-09 23:12:02 +00:00
"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;
}