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