server hotspot

This commit is contained in:
bogale 2026-11-01 22:09:03 +09:00
commit 4c0362efb7
7 changed files with 45 additions and 53 deletions

View file

@ -13,7 +13,6 @@
imports = [
../common.nix
./fs.nix
./pxeboot.nix
./vps-init.nix
];
networking = {
@ -21,24 +20,22 @@
dns = "dnsmasq";
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";
};
ipv4 = {
gateway = "10.1.0.1";
method = "manual";
home-wifi = {
connection = {
id = "home-wifi";
type = "wifi";
};
wifi-security = {
key-mgmt = "sae";
psk = "$BOGALE_PSK";
};
wifi.ssid = "bogale";
};
ipv6 = {
gateway = "fc01::1";
method = "manual";
};
wifi-security = {
key-mgmt = "sae";
psk = "$BOGALE_5_PSK";
};
wifi.ssid = "bogale_5";
};
};
};