NixOSDots/modules/nixos/wireless.nix

22 lines
351 B
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ config, ... }:
{
sops = {
secrets = {
"wireless/freebox-password" = {
owner = "root";
group = "root";
mode = "0400";
};
};
};
networking = {
wireless.networks = {
Freebox-357429 = {
pskRaw = "ext:${config.sops.secrets."wireless/freebox-password".path}";
};
};
};
}