initial server wifi ap config

This commit is contained in:
twoneis 2024-02-11 03:38:01 +01:00
parent c05472f419
commit a5f49c10bd
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{ ... }: {
services.create_ap = {
enable = true;
settings = {
INTERNET_IFACE = "enp2s0";
WIFI_IFACE = "wlp1s0";
SSID = "home";
PASSPHRASE = builtins.readFile /home/twoneis/ap-passkey;
};
};
}

View file

@ -1,4 +1,8 @@
{ pkgs, ... }: { { pkgs, ... }: {
imports = [
./access-point.nix
];
# Allow ssh access # Allow ssh access
services.openssh = { services.openssh = {
enable = true; enable = true;