Home: Remove nextcloud.

This commit is contained in:
Dmitry Voronin 2025-01-09 20:02:20 +03:00
parent 74401fd1a5
commit 6177c2ea4f
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
6 changed files with 2 additions and 56 deletions

View file

@ -44,12 +44,12 @@ in
};
"clock#time" = {
format = "{:%H:%M}";
on-click = "xdg-open https://cloud.voronind.com/apps/calendar/";
on-click = "thunderbird";
tooltip-format = "<big><tt>{calendar}</tt></big>";
};
"clock#date" = {
format = "{:%a %d}";
on-click = "xdg-open https://cloud.voronind.com/apps/calendar/";
on-click = "thunderbird";
tooltip-format = "<big><tt>{calendar}</tt></big>";
};
battery = {

View file

@ -17,7 +17,6 @@ let
(mkBookmark "WorkGit" "https://git.fmp.fsight.world")
(mkBookmark "WorkBoard" "https://support.fsight.ru")
(mkBookmark "Hass" "https://iot.voronind.com")
(mkBookmark "Cloud" "https://cloud.voronind.com")
(mkBookmark "GitHub" "https://github.com/notifications")
];
@ -70,7 +69,6 @@ let
];
darkModeIgnore = [
"cloud.voronind.com"
"git.voronind.com"
"github.com"
"home.voronind.com"

View file

@ -16,7 +16,6 @@ let
(mkBind "kavita" "/var/lib/kavita")
(mkBind "letsencrypt" "/etc/letsencrypt")
(mkBind "murmur" "/var/lib/murmur")
(mkBind "nextcloud" "/var/lib/nextcloud")
(mkBind "ovpn" "/var/lib/ovpn")
(mkBind "paperless" "/var/lib/paperless")
(mkBind "postgres" "/var/lib/postgresql")

View file

@ -1,30 +0,0 @@
{ config, pkgs, ... }:
{
services.nextcloud = {
enable = true;
database.createLocally = true;
extraAppsEnable = true;
hostName = "cloud.voronind.com";
https = true;
# package = pkgs.nextcloud29;
# phpOptions = {
# memory_limit = lib.mkForce "20G";
# };
config = {
adminpassFile = "${pkgs.writeText "NextcloudPassword" "root"}";
adminuser = "root";
dbname = "nextcloud";
# dbpassFile = "${pkgs.writeText "NextcloudDbPassword" "nextcloud"}";
dbtype = "pgsql";
dbuser = "nextcloud";
};
extraApps = { inherit (config.services.nextcloud.package.packages.apps) contacts calendar; };
settings = {
allow_local_remote_servers = true;
trusted_domains = [ "cloud.voronind.com" ];
trusted_proxies = [
# proxy.address
];
};
};
}

View file

@ -11,7 +11,6 @@
configurations = [
"forgejo"
"invidious"
"nextcloud"
"paperless"
];

View file

@ -1,20 +0,0 @@
{ ... }:
{
"cloud.voronind.com" = {
locations."~ ^/(settings/admin|settings/users|settings/apps|login|api)".extraConfig = ''
allow 10.0.0.0/8;
allow fd09:8d46:b26::/48;
deny all;
try_files $uri $uri/ /index.php$request_uri;
'';
extraConfig = ''
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/voronind.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/voronind.com/privkey.pem;
include /etc/letsencrypt/conf/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/conf/ssl-dhparams.pem;
'';
};
}