final setup for router, tested
This commit is contained in:
parent
c31dc86310
commit
58ce5e8a6c
6 changed files with 53 additions and 25 deletions
|
|
@ -16,6 +16,14 @@
|
|||
./vps-init.nix
|
||||
];
|
||||
networking = {
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 53 ];
|
||||
allowedUDPPorts = [
|
||||
53
|
||||
67
|
||||
];
|
||||
};
|
||||
nat.enable = true;
|
||||
networkmanager.ensureProfiles = {
|
||||
environmentFiles = [ config.sops.secrets.wifi-env.path ];
|
||||
profiles = {
|
||||
|
|
@ -28,11 +36,12 @@
|
|||
id = "home-wifi";
|
||||
type = "wifi";
|
||||
};
|
||||
ipv6.method = "disabled";
|
||||
wifi-security = {
|
||||
key-mgmt = "sae";
|
||||
psk = "$BOGALE_PSK";
|
||||
psk = "$BOGALE_5_PSK";
|
||||
};
|
||||
wifi.ssid = "bogale";
|
||||
wifi.ssid = "bogale_5";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue