fix wg
This commit is contained in:
parent
85a9847dd1
commit
6240ba037b
@ -3,10 +3,8 @@
|
|||||||
wireguard = {
|
wireguard = {
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
address = [ "10.0.0.2/24" "fdc9:281f:04d7:9ee9::2/64" ];
|
address = [ "10.0.0.4/32" ];
|
||||||
dns = [ "1.1.1.1" "fdc9:281f:04d7:9ee9::1" ];
|
|
||||||
privateKeyFile = "/etc/wireguard/privatekey";
|
privateKeyFile = "/etc/wireguard/privatekey";
|
||||||
|
|
||||||
peers = [
|
peers = [
|
||||||
{
|
{
|
||||||
publicKey = "5FiTLnzbgcbgQLlyVyYeESEd+2DtwM1JHCGz/32UcEU=";
|
publicKey = "5FiTLnzbgcbgQLlyVyYeESEd+2DtwM1JHCGz/32UcEU=";
|
||||||
@ -127,7 +125,7 @@
|
|||||||
users = {
|
users = {
|
||||||
ivand = {
|
ivand = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"adbusers"
|
"adbusers"
|
||||||
"adm"
|
"adm"
|
||||||
|
Loading…
Reference in New Issue
Block a user