21 lines
No EOL
430 B
Nix
21 lines
No EOL
430 B
Nix
{pkgs, config, ...}: {
|
|
# Enable wireless
|
|
|
|
# Set up the secrets file for the token:
|
|
sops.secrets.copeland-5g-psk = {
|
|
sopsFile = ../../../secrets/secrets.yaml;
|
|
};
|
|
|
|
networking = {
|
|
wireless = {
|
|
environmentFiles = [ /run/secrets/wireless-psk ];
|
|
enable = true;
|
|
networks = {
|
|
"copeland-5g" = {
|
|
hidden = false;
|
|
psk = $copeland-5g-psk;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
} |