server hotspot
This commit is contained in:
parent
e9a3594518
commit
4c0362efb7
7 changed files with 45 additions and 53 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue