moved ap to module

This commit is contained in:
bogale 2026-11-08 21:03:53 +09:00
commit 4430f3a1d5
6 changed files with 27 additions and 36 deletions

View file

@ -18,17 +18,23 @@
networking = {
networkmanager.ensureProfiles = {
environmentFiles = [ config.sops.secrets.wifi-env.path ];
profiles.home-wifi = {
connection = {
id = "home-wifi";
type = "wifi";
profiles = {
dhcp-ethernet.connection = {
id = "dhcp-ethernet";
type = "ethernet";
};
ipv6.method = "disabled";
wifi-security = {
key-mgmt = "sae";
psk = "$BOGALE_5_PSK";
home-wifi = {
connection = {
id = "home-wifi";
type = "wifi";
};
ipv6.method = "disabled";
wifi-security = {
key-mgmt = "sae";
psk = "$BOGALE_5_PSK";
};
wifi.ssid = "bogale_5";
};
wifi.ssid = "bogale_5";
};
};
wg-quick.interfaces.awg0.type = "amneziawg";