Helix: display inlay hints

Nextcloud deployment
This commit is contained in:
Filippo Berto 2023-04-27 11:12:16 +02:00
parent 1c8f2b7b9f
commit 027f988477
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
8 changed files with 69 additions and 54 deletions

View file

@ -1,6 +1,7 @@
{ pkgs, config, lib, ... }: {
users.groups.garage = { };
users.users.garage = { isSystemUser = true; group = "garage"; };
age.secrets.garage_rpc_secret = { file = ../secrets/garage_rpc_secret.age; owner = "garage"; };
networking.firewall.interfaces."ztmjfdwjkp".allowedTCPPorts = [
3901

View file

@ -1,13 +1,27 @@
{ config, ... }: {
{ pkgs, config, ... }: {
age.secrets = {
nextcloud_admin_secret = { file = ../secrets/nextcloud_admin_secret.age; owner = "nextcloud"; };
nextcloud_bucket_secret = { file = ../secrets/nextcloud_bucket_secret.age; owner = "nextcloud"; };
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
enableACME = true;
forceSSL = true;
};
services.nextcloud = {
enable = true;
hostName = "freya.local";
package = pkgs.unstable_pkgs.nextcloud26;
hostName = "my-nextcloud.bertof.net";
maxUploadSize = "32G";
config.adminpassFile = config.age.secrets.nextcloud_admin_secret.path;
config.objectstore.s3 = {
enable = true;
bucket = "nextcloud-bucket";
bucket = "nextcloud";
autocreate = false;
key = "GK42a6b774429bfc254f4a5d36";
key = "GK622e38479552cbbbba48fd04";
secretFile = config.age.secrets.nextcloud_bucket_secret.path;
hostname = "localhost";
port = 3900;