Refine RPi conf

This commit is contained in:
Vili Sinervä 2024-12-30 20:27:24 +02:00
parent 52c30a2f8b
commit ff9c376e17
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -1,8 +1,8 @@
{ config, pkgs, ... }:
let
SSID = "ENTER_SSID";
SSIDpassword = "ENTER_PASSWORD";
interface = "wlan0";
# SSID = "ENTER_SSID";
# SSIDpassword = "ENTER_PASSWORD";
# interface = "wlan0";
wg_interface = "end0";
hostname = "netflix-huijaus";
ddPassFile = "/root/wg-conf/ddPassFile";
@ -123,12 +123,14 @@ in
};
};
hardware.enableRedistributableFirmware = true;
networking = {
hostName = hostname;
wireless = {
enable = false;
networks."${SSID}".psk = SSIDpassword;
interfaces = [ interface ];
# networks."${SSID}".psk = SSIDpassword;
# interfaces = [ interface ];
};
};
}