Refine RPi conf
This commit is contained in:
parent
52c30a2f8b
commit
ff9c376e17
1 changed files with 7 additions and 5 deletions
|
@ -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 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue