add new wireguard peer
This commit is contained in:
parent
973313256a
commit
3ddbca3f7c
1 changed files with 6 additions and 31 deletions
|
|
@ -90,6 +90,12 @@ let
|
|||
publicKey = "XiR4NZLdHyOvzt+fdYoFDW2s/Su8nlz8UgrVPLISdBY=";
|
||||
allowedIPs = [ "10.0.0.140/32" ];
|
||||
}
|
||||
{
|
||||
# kavic
|
||||
dns = "kavic";
|
||||
publicKey = "VVzGcHjSo6QkvN6raS9g/NYLIrZ1xzxdnEronQaTIHs=";
|
||||
allowedIPs = [ "10.0.0.141/32" ];
|
||||
}
|
||||
];
|
||||
|
||||
dnsRecords =
|
||||
|
|
@ -273,37 +279,6 @@ in
|
|||
gvfs.enable = true;
|
||||
udisks2.enable = true;
|
||||
devmon.enable = true;
|
||||
|
||||
minecraft-servers = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
openFirewall = true;
|
||||
|
||||
servers = {
|
||||
prominence = {
|
||||
enable = true;
|
||||
package = pkgs.fabricServers.fabric-1_20_1.override {
|
||||
loaderVersion = "0.16.10";
|
||||
};
|
||||
jvmOpts = "-Xmx24G -Xms4G";
|
||||
|
||||
symlinks = {
|
||||
"config" = "/etc/minecraft/prominence/config";
|
||||
"defaultconfigs" = "/etc/minecraft/prominence/defaultconfigs";
|
||||
"modernfix" = "/etc/minecraft/prominence/modernfix";
|
||||
"schematics" = "/etc/minecraft/prominence/schematics";
|
||||
"manifest.json" = "/etc/minecraft/prominence/manifest.json";
|
||||
"server-icon.png" = "/etc/minecraft/prominence/server-icon.png";
|
||||
"mods" = "/etc/minecraft/prominence/mods";
|
||||
};
|
||||
|
||||
serverProperties = {
|
||||
server-port = 25565;
|
||||
motd = "簡欣欣的媽媽天堂";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue