network: Make sure charlotte can control wpa_supplicant
This commit is contained in:
parent
a57c18b5b2
commit
bf37726c44
1 changed files with 5 additions and 1 deletions
|
@ -16,13 +16,17 @@
|
|||
};
|
||||
|
||||
config = with config.chvp.base.network.mobile; lib.mkIf enable {
|
||||
users.users.charlotte.extraGroups = [ "network" ];
|
||||
networking = {
|
||||
useDHCP = false;
|
||||
wireless = {
|
||||
enable = true;
|
||||
interfaces = [ wireless-interface ];
|
||||
environmentFile = config.age.secrets."passwords/networks.age".path;
|
||||
userControlled.enable = true;
|
||||
userControlled = {
|
||||
enable = true;
|
||||
group = "network";
|
||||
};
|
||||
networks = {
|
||||
"Public Universal Friend".psk = "@PSK_PUF@";
|
||||
AndroidAP.psk = "@PSK_AndroidAP@";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue