further declare nextcloud port
All checks were successful
Weekly NixOS Build & Cache / build-and-cache (push) Successful in 1h31m31s
All checks were successful
Weekly NixOS Build & Cache / build-and-cache (push) Successful in 1h31m31s
This commit is contained in:
@@ -67,7 +67,7 @@ in
|
|||||||
hostName = "server";
|
hostName = "server";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = config.networking.firewall.allowedTCPPorts;
|
allowedUDPPorts = config.networking.firewall.allowedTCPPorts;
|
||||||
interfaces.wg0.allowedTCPPorts = [ 8081 ];
|
interfaces.wg0.allowedTCPPorts = [ config.my.servers.nextcloud.port ];
|
||||||
};
|
};
|
||||||
wireguard.interfaces.wg0 = lib.mkIf config.my.secureHost {
|
wireguard.interfaces.wg0 = lib.mkIf config.my.secureHost {
|
||||||
ips = [ "${config.my.ips.wg-server}/32" ];
|
ips = [ "${config.my.ips.wg-server}/32" ];
|
||||||
|
|||||||
@@ -209,7 +209,7 @@
|
|||||||
icon = "${cfg.name}.png";
|
icon = "${cfg.name}.png";
|
||||||
href = cfg.url;
|
href = cfg.url;
|
||||||
widget = {
|
widget = {
|
||||||
url = "http://${config.my.ips.wg-server}:8081";
|
url = "http://${config.my.ips.wg-server}:${toString cfg.port}";
|
||||||
type = cfg.name;
|
type = cfg.name;
|
||||||
username = "{{HOMEPAGE_VAR_NEXTCLOUD_USERNAME}}";
|
username = "{{HOMEPAGE_VAR_NEXTCLOUD_USERNAME}}";
|
||||||
password = "{{HOMEPAGE_VAR_NEXTCLOUD_PASSWORD}}";
|
password = "{{HOMEPAGE_VAR_NEXTCLOUD_PASSWORD}}";
|
||||||
|
|||||||
Reference in New Issue
Block a user