server hotspot
This commit is contained in:
parent
e9a3594518
commit
4c0362efb7
7 changed files with 45 additions and 53 deletions
|
|
@ -16,26 +16,21 @@
|
|||
imports = [
|
||||
../mods/host.nix
|
||||
./hardware.nix
|
||||
./mods/pxeboot.nix
|
||||
];
|
||||
networking = {
|
||||
firewall.allowedTCPPorts = [ 8000 ];
|
||||
hostName = "nixos-desktop";
|
||||
networkmanager.ensureProfiles.profiles = {
|
||||
home-wifi = {
|
||||
ipv4.addresses = "10.1.0.3/16";
|
||||
ipv6.addresses = "fc01::3/64";
|
||||
networkmanager.ensureProfiles.profiles.phone-wifi = {
|
||||
connection = {
|
||||
id = "phone-wifi";
|
||||
type = "wifi";
|
||||
};
|
||||
phone-wifi = {
|
||||
connection = {
|
||||
id = "phone-wifi";
|
||||
type = "wifi";
|
||||
};
|
||||
wifi-security = {
|
||||
key-mgmt = "sae";
|
||||
psk = "$HELLO_WORLD_PSK";
|
||||
};
|
||||
wifi.ssid = "Hello world";
|
||||
wifi-security = {
|
||||
key-mgmt = "sae";
|
||||
psk = "$HELLO_WORLD_PSK";
|
||||
};
|
||||
wifi.ssid = "Hello world";
|
||||
};
|
||||
wg-quick.interfaces.awg0.configFile = config.sops.templates.awg2-conf.path;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue